[Mplayer-cvslog] CVS: main mplayer.c,1.452,1.453

Arpi of Ize arpi at mplayer.dev.hu
Sun Mar 31 21:20:05 CEST 2002


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

Modified Files:
	mplayer.c 
Log Message:
-alang sig11 when playing avis fixed - 10l

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.452
retrieving revision 1.453
diff -u -r1.452 -r1.453
--- mplayer.c	31 Mar 2002 02:22:40 -0000	1.452
+++ mplayer.c	31 Mar 2002 19:20:01 -0000	1.453
@@ -998,10 +998,12 @@
 }
 
 #ifdef USE_DVDREAD
-current_module="dvd lang->id";
-if(audio_lang && 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;
+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(dvdsub_lang && dvdsub_id==-1) dvdsub_id=dvd_sid_from_lang(stream,dvdsub_lang);
+  current_module=NULL;
+}
 #endif
 
 // CACHE2: initial prefill: 20%  later: 5%  (should be set by -cacheopts)




More information about the MPlayer-cvslog mailing list