Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
70ecb609
Commit
70ecb609
authored
Aug 02, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed mp4 apple chapter loading (close #1719)
parent
f8302125
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+3
-2
No files found.
modules/demux/mp4/mp4.c
View file @
70ecb609
...
...
@@ -1077,7 +1077,7 @@ static void LoadChapter( demux_t *p_demux )
}
if
(
j
<
p_sys
->
i_tracks
)
{
LoadChapterApple
(
p_demux
,
&
p_sys
->
track
[
i
]
);
LoadChapterApple
(
p_demux
,
&
p_sys
->
track
[
j
]
);
break
;
}
}
...
...
@@ -2156,7 +2156,7 @@ static void MP4_TrackCreate( demux_t *p_demux, mp4_track_t *p_track,
p_track
->
i_sample
=
0
;
/* Mark chapter only track */
if
(
!
p_track
->
b_enable
&&
p_sys
->
p_tref_chap
)
if
(
p_sys
->
p_tref_chap
)
{
MP4_Box_data_tref_generic_t
*
p_chap
=
p_sys
->
p_tref_chap
->
data
.
p_tref_generic
;
unsigned
int
i
;
...
...
@@ -2166,6 +2166,7 @@ static void MP4_TrackCreate( demux_t *p_demux, mp4_track_t *p_track,
if
(
p_track
->
i_track_ID
==
p_chap
->
i_track_ID
[
i
]
)
{
p_track
->
b_chapter
=
true
;
p_track
->
b_enable
=
false
;
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment