mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
Delcare a dvdnav-specific input section if the currently played
stream is from such a type. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26760 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
47ef593617
commit
c289ff3a72
@ -3629,6 +3629,7 @@ if ( use_gui ) {
|
|||||||
mp_input_set_section(NULL);
|
mp_input_set_section(NULL);
|
||||||
//TODO: add desired (stream-based) sections here
|
//TODO: add desired (stream-based) sections here
|
||||||
if (mpctx->stream->type==STREAMTYPE_TV) mp_input_set_section("tv");
|
if (mpctx->stream->type==STREAMTYPE_TV) mp_input_set_section("tv");
|
||||||
|
if (mpctx->stream->type==STREAMTYPE_DVDNAV) mp_input_set_section("dvdnav");
|
||||||
|
|
||||||
//==================== START PLAYING =======================
|
//==================== START PLAYING =======================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user