mirror of
https://github.com/mpv-player/mpv
synced 2024-10-14 11:54:36 +02:00
comment on -noskip patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16837 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bd84c608ea
commit
db1aa87238
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user