• Marton Balint's avatar
    ffplay: remove early frame drop functionality · d2d8e1e5
    Marton Balint authored
    The current impementation of early frame drops (dropping frames before adding
    them to the picture queue) has multiple problems:
    
    Even after gettin A-V sync, the frame droping continues until
    VideoState->skip_frames reaches 1, which can take a lot of time causing useless
    additional frame drops and bad AV-sync. This issue can be easily triggered with
    for example changing the audio stream.
    
    Also video_refresh currenly does not handle early skipped frames in every case,
    for example if we skip a frame, then the last frame duration calculation will
    compute the duration of the sum of the skipped frame and the duration of the
    frame before that, and in compute_target_delay we may multiply this unusually
    big delay.
    Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
    d2d8e1e5
Name
Last commit
Last update
doc Loading commit data...
ffpresets Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
mt-work Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
avconv.c Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
cmdutils_common_opts.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
ffplay.c Loading commit data...
ffprobe.c Loading commit data...
ffserver.c Loading commit data...
subdir.mak Loading commit data...
version.sh Loading commit data...