summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mencoder.c b/mencoder.c
index a7095d700b..4adbd77d58 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -527,6 +527,10 @@ sh_video=d_video->sh;
mp_msg(MSGT_MENCODER,MSGL_INFO,"input fps will be interpreted as %5.2f instead\n", sh_video->fps);
}
+ if(sh_audio && out_file_format==MUXER_TYPE_RAWVIDEO){
+ mp_msg(MSGT_MENCODER,MSGL_ERR,"Output file format RAWVIDEO does not support audio - disabling audio\n");
+ sh_audio=NULL;
+ }
if(sh_audio && out_audio_codec<0){
if(audio_id==-2)
mp_msg(MSGT_MENCODER,MSGL_ERR,"This demuxer doesn't support -nosound yet.\n");