Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
d5225a43
Commit
d5225a43
authored
Aug 22, 2004
by
gbazin
Browse files
* modules/access/dvdread.c: fixed chapter change detection.
parent
234278af
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/dvdread.c
View file @
d5225a43
...
...
@@ -1194,13 +1194,15 @@ static void DvdReadFindCell( demux_t *p_demux )
#undef cell
if
(
p_sys
->
i_chapter
+
1
>=
p_sys
->
i_chapters
)
return
;
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
[
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
;
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
++
;
...
...
Write
Preview
Supports
Markdown
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