From 0b21347be7874ef4910d75c302fd0b9a425e28b1 Mon Sep 17 00:00:00 2001 From: arpi Date: Sun, 5 Jan 2003 14:18:53 +0000 Subject: -nosound warning git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8797 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mencoder.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mencoder.c') diff --git a/mencoder.c b/mencoder.c index aa60fa079d..c9e8fb6975 100644 --- a/mencoder.c +++ b/mencoder.c @@ -520,6 +520,8 @@ sh_video=d_video->sh; } 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); } -- cgit v1.2.3