[Mplayer-cvslog] CVS: 0_90 mplayer.c,1.684,1.685

Gabucino gabucino at mplayerhq.hu
Sat Aug 9 16:24:39 CEST 2003


Update of /cvsroot/mplayer/0_90
In directory mail:/var/tmp.root/cvs-serv27282

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/0_90/mplayer.c,v
retrieving revision 1.684
retrieving revision 1.685
diff -u -r1.684 -r1.685
--- mplayer.c	13 Jul 2003 22:22:54 -0000	1.684
+++ mplayer.c	9 Aug 2003 14:24:36 -0000	1.685
@@ -1232,7 +1232,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