[Mplayer-cvslog] CVS: main mplayer.c,1.505,1.506

Alex Beregszaszi alex at mplayerhq.hu
Sat May 25 13:40:31 CEST 2002


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

Modified Files:
	mplayer.c 
Log Message:
jump to next file (or exit) if can't decode audio && video

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.505
retrieving revision 1.506
diff -u -r1.505 -r1.506
--- mplayer.c	25 May 2002 09:46:35 -0000	1.505
+++ mplayer.c	25 May 2002 11:40:29 -0000	1.506
@@ -1444,6 +1444,9 @@
    uninit_player(INITED_VO);
 }
 
+if (!sh_video && !sh_audio)
+    goto goto_next_file;
+
 if(demuxer->file_format!=DEMUXER_TYPE_AVI) pts_from_bps=0; // it must be 0 for mpeg/asf!
 if(force_fps){
   vo_fps = sh_video->fps=force_fps;




More information about the MPlayer-cvslog mailing list