From db1aa87238a50b5ff5fdda7750d60139cdea4f56 Mon Sep 17 00:00:00 2001 From: rfelker Date: Sun, 23 Oct 2005 15:05:11 +0000 Subject: comment on -noskip patch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16837 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mencoder.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mencoder.c') diff --git a/mencoder.c b/mencoder.c index c82911317e..4222c11b5a 100644 --- a/mencoder.c +++ b/mencoder.c @@ -1302,6 +1302,11 @@ default: // unwanted skipping of a frame, what to do? v_timer_corr-=(float)mux_v->h.dwScale/mux_v->h.dwRate; #if 0 + // Old code apparently made under the assumption that !blit_frame means + // decoding failed due to corruption or something.. but duplication and + // skipping of frames should be entirely disabled when skip_limit==0, + // and must be in order for many filters to work with -noskip. + // Eventually this entire block should probably be removed. 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) -- cgit v1.2.3