changeset 15056:6f949cafe480

Errors that cause MEncoder to exit should be MSGL_FATAL, not MSGL_ERR.
author diego
date Wed, 06 Apr 2005 07:58:30 +0000
parents cec31d399b8a
children 719883aa0adf
files mencoder.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Wed Apr 06 07:53:42 2005 +0000
+++ b/mencoder.c	Wed Apr 06 07:58:30 2005 +0000
@@ -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);
   }