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
GSoC
GSoC2018
macOS
vlc
Commits
e06c3861
Commit
e06c3861
authored
Apr 21, 2005
by
Steve Lhomme
Browse files
mkv.cpp: minor improvements
parent
4bbf555a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mkv.cpp
View file @
e06c3861
...
...
@@ -4258,16 +4258,21 @@ bool dvd_command_interpretor_c::Interpret( const binary * p_command, size_t i_si
virtual_segment_c
*
p_segment
;
chapter_item_c
*
p_chapter
;
p_chapter
=
sys
.
BrowseCodecPrivate
(
1
,
MatchTitleNumber
,
&
i_title
,
sizeof
(
i_title
),
p_segment
);
// TODO if the segment is not part of the current segment, select the new one
if
(
p_segment
!=
sys
.
p_current_segment
)
if
(
p_chapter
!=
NULL
)
{
sys
.
p_current_segment
=
p_segment
;
sys
.
PreparePlayback
();
// if the segment is not part of the current segment, select the new one
if
(
p_segment
!=
sys
.
p_current_segment
)
{
sys
.
p_current_segment
=
p_segment
;
sys
.
PreparePlayback
();
}
p_chapter
->
Enter
();
// jump to the location in the found segment
p_segment
->
Seek
(
sys
.
demuxer
,
p_chapter
->
i_user_start_time
,
-
1
,
p_chapter
);
}
// TODO jump to the location in the found segment
p_segment
->
Seek
(
sys
.
demuxer
,
p_chapter
->
i_user_start_time
,
-
1
,
NULL
);
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