mirror of https://github.com/mpv-player/mpv
-nosound warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8797 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6c4f39360a
commit
0b21347be7
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue