[MPlayer-cvslog] r21617 - trunk/mplayer.c

nicodvb subversion at mplayerhq.hu
Thu Dec 14 23:12:29 CET 2006


Author: nicodvb
Date: Thu Dec 14 23:12:28 2006
New Revision: 21617

Modified:
   trunk/mplayer.c

Log:
support for -alang in dvdnav

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Thu Dec 14 23:12:28 2006
@@ -4190,6 +4190,7 @@
 #ifdef USE_DVDNAV
 if(stream->type==STREAMTYPE_DVDNAV){
   current_module="dvdnav lang->id";
+  if(audio_id==-1) audio_id=dvdnav_aid_from_lang(stream,audio_lang);
   if(dvdsub_lang && dvdsub_id==-2) dvdsub_id=-1;
   if(dvdsub_lang && dvdsub_id==-1) dvdsub_id=dvdnav_sid_from_lang(stream,dvdsub_lang);
   // setup global sub numbering



More information about the MPlayer-cvslog mailing list