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
815e38a8
Commit
815e38a8
authored
Jul 18, 2008
by
Laurent Aimar
Browse files
Do not return title if no chapters in mkv.
parent
5d3c921b
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mkv.cpp
View file @
815e38a8
...
...
@@ -1686,7 +1686,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
return
VLC_SUCCESS
;
case
DEMUX_GET_TITLE_INFO
:
if
(
p_sys
->
titles
.
size
()
)
if
(
p_sys
->
titles
.
size
()
>
1
||
(
p_sys
->
titles
.
size
()
==
1
&&
p_sys
->
titles
[
0
]
->
i_seekpoint
>
0
)
)
{
input_title_t
***
ppp_title
=
(
input_title_t
***
)
va_arg
(
args
,
input_title_t
***
);
int
*
pi_int
=
(
int
*
)
va_arg
(
args
,
int
*
);
...
...
@@ -1698,7 +1698,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{
(
*
ppp_title
)[
i
]
=
vlc_input_title_Duplicate
(
p_sys
->
titles
[
i
]
);
}
return
VLC_SUCCESS
;
}
return
VLC_EGENERIC
;
...
...
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