[MPlayer-cvslog] CVS: main mencoder.c,1.278,1.279
    Diego Biurrun CVS 
    syncmail at mplayerhq.hu
       
    Wed Apr  6 09:58:32 CEST 2005
    
    
  
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv17557
Modified Files:
	mencoder.c 
Log Message:
Errors that cause MEncoder to exit should be MSGL_FATAL, not MSGL_ERR.
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.278
retrieving revision 1.279
diff -u -r1.278 -r1.279
--- mencoder.c	6 Apr 2005 07:53:42 -0000	1.278
+++ mencoder.c	6 Apr 2005 07:58:30 -0000	1.279
@@ -555,8 +555,8 @@
   //demuxer=demux_open(stream,file_format,video_id,audio_id,dvdsub_id);
   demuxer=demux_open(stream,file_format,audio_id,video_id,dvdsub_id,filename);
   if(!demuxer){
-        mp_msg(MSGT_DEMUXER,MSGL_ERR,MSGTR_FormatNotRecognized);
-	mp_msg(MSGT_DEMUXER, MSGL_ERR, MSGTR_CannotOpenDemuxer); //correct target/level? FIXME?
+    mp_msg(MSGT_DEMUXER, MSGL_FATAL, MSGTR_FormatNotRecognized);
+    mp_msg(MSGT_DEMUXER, MSGL_FATAL, MSGTR_CannotOpenDemuxer);
 	mencoder_exit(1,NULL);
   }
 
    
    
More information about the MPlayer-cvslog
mailing list