changeset 26728:a42c300ec8bf

Delcare a dvdnav-specific input section if the currently played stream is from such a type.
author ben
date Tue, 13 May 2008 17:26:41 +0000
parents 82601a38e2a7
children 581d694db6a4
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue May 13 10:16:20 2008 +0000
+++ b/mplayer.c	Tue May 13 17:26:41 2008 +0000
@@ -3629,6 +3629,7 @@
 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 =======================