summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authorrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-10-23 15:05:11 +0000
committerrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-10-23 15:05:11 +0000
commitdb1aa87238a50b5ff5fdda7750d60139cdea4f56 (patch)
treecf880bd0a876947c2c8ac7daad75ab1276925827 /mencoder.c
parentbd84c608eac4cbc716b3302a0b1a07807c9abb86 (diff)
downloadmpv-db1aa87238a50b5ff5fdda7750d60139cdea4f56.tar.bz2
mpv-db1aa87238a50b5ff5fdda7750d60139cdea4f56.tar.xz
comment on -noskip patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16837 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c5
1 files changed, 5 insertions, 0 deletions
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)