diff options
author | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-10-23 07:30:56 +0000 |
---|---|---|
committer | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-10-23 07:30:56 +0000 |
commit | a6549bd26bdeb50d33e351e67b4716ee6b8c78b2 (patch) | |
tree | fecb69e3bb672e1ebe6ddfb31bb4d3f90bc18e82 | |
parent | bdbf4bb353c71a7222975be0e342a26410bfbb85 (diff) | |
download | mpv-a6549bd26bdeb50d33e351e67b4716ee6b8c78b2.tar.bz2 mpv-a6549bd26bdeb50d33e351e67b4716ee6b8c78b2.tar.xz |
reverse patch that was mistakenly applied with unwanted unrelated changes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16828 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mencoder.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mencoder.c b/mencoder.c index c82911317e..c31f63da3b 100644 --- a/mencoder.c +++ b/mencoder.c @@ -582,6 +582,10 @@ sh_video=d_video->sh; mp_msg(MSGT_MENCODER,MSGL_INFO,MSGTR_ForcingInputFPS, sh_video->fps); } + if(sh_audio && out_file_format==MUXER_TYPE_RAWVIDEO){ + mp_msg(MSGT_MENCODER,MSGL_ERR,MSGTR_RawvideoDoesNotSupportAudio); + sh_audio=NULL; + } if(sh_audio && out_audio_codec<0){ if(audio_id==-2) mp_msg(MSGT_MENCODER,MSGL_ERR,MSGTR_DemuxerDoesntSupportNosound); @@ -1300,8 +1304,6 @@ default: badframes++; if(skip_flag<=0){ // unwanted skipping of a frame, what to do? - v_timer_corr-=(float)mux_v->h.dwScale/mux_v->h.dwRate; -#if 0 if(skip_limit==0){ // skipping not allowed -> write empty frame: if (!encode_duplicates || !sh_video->vfilter || ((vf_instance_t *)sh_video->vfilter)->control(sh_video->vfilter, VFCTRL_DUPLICATE_FRAME, 0) != CONTROL_TRUE) @@ -1310,7 +1312,6 @@ default: // skipping allowed -> skip it and distriubute timer error: v_timer_corr-=(float)mux_v->h.dwScale/mux_v->h.dwRate; } -#endif } } } |