Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d5225a43
Commit
d5225a43
authored
Aug 22, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/dvdread.c: fixed chapter change detection.
parent
234278af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/access/dvdread.c
modules/access/dvdread.c
+5
-3
No files found.
modules/access/dvdread.c
View file @
d5225a43
...
@@ -1194,13 +1194,15 @@ static void DvdReadFindCell( demux_t *p_demux )
...
@@ -1194,13 +1194,15 @@ static void DvdReadFindCell( demux_t *p_demux )
#undef cell
#undef cell
if
(
p_sys
->
i_chapter
+
1
>=
p_sys
->
i_chapters
)
return
;
pgc_id
=
p_sys
->
p_vts_file
->
vts_ptt_srpt
->
title
[
pgc_id
=
p_sys
->
p_vts_file
->
vts_ptt_srpt
->
title
[
p_sys
->
i_ttn
-
1
].
ptt
[
p_sys
->
i_chapter
].
pgcn
;
p_sys
->
i_ttn
-
1
].
ptt
[
p_sys
->
i_chapter
+
1
].
pgcn
;
pgn
=
p_sys
->
p_vts_file
->
vts_ptt_srpt
->
title
[
pgn
=
p_sys
->
p_vts_file
->
vts_ptt_srpt
->
title
[
p_sys
->
i_ttn
-
1
].
ptt
[
p_sys
->
i_chapter
].
pgn
;
p_sys
->
i_ttn
-
1
].
ptt
[
p_sys
->
i_chapter
+
1
].
pgn
;
p_pgc
=
p_sys
->
p_vts_file
->
vts_pgcit
->
pgci_srp
[
pgc_id
-
1
].
pgc
;
p_pgc
=
p_sys
->
p_vts_file
->
vts_pgcit
->
pgci_srp
[
pgc_id
-
1
].
pgc
;
if
(
p_
pgc
->
program_map
[
pgn
-
1
]
<=
p_sys
->
i_cur_cell
)
if
(
p_
sys
->
i_cur_cell
>=
p_pgc
->
program_map
[
pgn
-
1
]
-
1
)
{
{
p_sys
->
i_chapter
++
;
p_sys
->
i_chapter
++
;
...
...
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