summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-13 17:26:41 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-13 17:26:41 +0000
commitc289ff3a72b122557f6ae03d20db3e439a03aefa (patch)
treecb2f118a685e4a837e81d719ff5f46a9692a9735 /mplayer.c
parent47ef5936172737584a9a37f9f7b0b70b2f1ddccb (diff)
downloadmpv-c289ff3a72b122557f6ae03d20db3e439a03aefa.tar.bz2
mpv-c289ff3a72b122557f6ae03d20db3e439a03aefa.tar.xz
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
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 3e0b65e82a..5a8448f417 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3629,6 +3629,7 @@ if ( use_gui ) {
mp_input_set_section(NULL);
//TODO: add desired (stream-based) sections here
if (mpctx->stream->type==STREAMTYPE_TV) mp_input_set_section("tv");
+if (mpctx->stream->type==STREAMTYPE_DVDNAV) mp_input_set_section("dvdnav");
//==================== START PLAYING =======================