diff options
author | ranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-03-09 14:46:34 +0000 |
---|---|---|
committer | ranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-03-09 14:46:34 +0000 |
commit | 5865c8ccde6c16f290332a51adcc678e7f67acaf (patch) | |
tree | 014e64a31b9d13d4f8beaa2c2a65b577bb6d9eb1 /mencoder.c | |
parent | 890370f15dbff86f4c3bafde8e2abbe00bb4e382 (diff) | |
download | mpv-5865c8ccde6c16f290332a51adcc678e7f67acaf.tar.bz2 mpv-5865c8ccde6c16f290332a51adcc678e7f67acaf.tar.xz |
rawvideo muxer patch by John Earl <jwe21@cam.ac.uk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12017 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r-- | mencoder.c | 4 |
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"); |