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:
ben 2008-05-13 17:26:41 +00:00
parent 47ef593617
commit c289ff3a72
1 changed files with 1 additions and 0 deletions

View File

@ -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 =======================