[Mplayer-cvslog] CVS: main mplayer.c,1.486,1.487

Arpi of Ize arpi at mplayerhq.hu
Thu May 2 00:38:16 CEST 2002


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

Modified Files:
	mplayer.c 
Log Message:
catching vo/vf init failure

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.486
retrieving revision 1.487
diff -u -r1.486 -r1.487
--- mplayer.c	29 Apr 2002 22:00:47 -0000	1.486
+++ mplayer.c	1 May 2002 22:37:59 -0000	1.487
@@ -1532,6 +1532,11 @@
 
     mp_dbg(MSGT_AVSYNC,MSGL_DBG2,"*** ftime=%5.3f ***\n",frame_time);
 
+    if(sh_video->vf_inited<0){
+	mp_msg(MSGT_CPLAYER,MSGL_FATAL,"\nFATAL: Couldn't initialize video filters (-vop) or video output (-vo) !\n");
+	eof=1; goto goto_next_file;
+    }
+
 // ==========================================================================
     
 //    current_module="draw_osd";




More information about the MPlayer-cvslog mailing list