-nosound warning

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8797 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2003-01-05 14:18:53 +00:00
parent 6c4f39360a
commit 0b21347be7
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}