[Mplayer-cvslog] CVS: main mencoder.c,1.196,1.197

Arpi of Ize arpi at mplayerhq.hu
Sun Jan 5 15:19:02 CET 2003


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

Modified Files:
	mencoder.c 
Log Message:
-nosound warning


Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -r1.196 -r1.197
--- mencoder.c	3 Jan 2003 11:51:39 -0000	1.196
+++ mencoder.c	5 Jan 2003 14:18:53 -0000	1.197
@@ -520,6 +520,8 @@
   }
 
   if(sh_audio && out_audio_codec<0){
+    if(audio_id==-2)
+	mp_msg(MSGT_MENCODER,MSGL_ERROR,"This demuxer doesn't support -nosound yet.\n");
     mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_NoAudioEncoderSelected);
     mencoder_exit(1,NULL);
   }



More information about the MPlayer-cvslog mailing list