changeset 8796:7785c0cf0492

-nosound warning
author arpi
date Sun, 05 Jan 2003 14:18:53 +0000
parents b4512aa07711
children 97a26dea07bb
files mencoder.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Sun Jan 05 13:48:13 2003 +0000
+++ b/mencoder.c	Sun Jan 05 14:18:53 2003 +0000
@@ -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);
   }