[Mplayer-cvslog] CVS: main mplayer.c,1.709,1.710

Gabucino gabucino at mplayerhq.hu
Sat Aug 9 16:23:48 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv26768

Modified Files:
	mplayer.c 
Log Message:
For a request by Gabu, i've cut & fix a part of Joey's dvd aid switching
patch, to always use the first audio track of DVD, unless -alang or -aid is
used. I think it will be almost always teh id 128. (actual number comes from
the .IFO)

(reported ok - Gabu)


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.709
retrieving revision 1.710
diff -u -r1.709 -r1.710
--- mplayer.c	4 Aug 2003 09:12:40 -0000	1.709
+++ mplayer.c	9 Aug 2003 14:22:49 -0000	1.710
@@ -1319,7 +1319,7 @@
 #ifdef USE_DVDREAD
 if(stream->type==STREAMTYPE_DVD){
   current_module="dvd lang->id";
-  if(audio_lang && audio_id==-1) audio_id=dvd_aid_from_lang(stream,audio_lang);
+  if(audio_id==-1) audio_id=dvd_aid_from_lang(stream,audio_lang);
   if(dvdsub_lang && dvdsub_id==-1) dvdsub_id=dvd_sid_from_lang(stream,dvdsub_lang);
   current_module=NULL;
 }



More information about the MPlayer-cvslog mailing list