mirror of
https://github.com/mpv-player/mpv
synced 2025-03-30 15:29:56 +00:00
Several related things in regards to interpolation. Essentially this adds more general sanity checking to bring it more in line with what vo_gpu does. - Add a can_interpolate bool which determines whether or not this frame is allowed to interpolate. - p->is_interpolated was sometimes lying and because you can have a mix frames greater than 1 depending on the video and settings. Make sure that vsync_offset is not 0 so we know if it's actually interpolated or not. This prevents a redundant redraw for those edge cases when pausing. - When the vo wants a reset, i.e. some sort of discontinuity, don't try to interpolate the frame. Interpolation is only valid for monotonically increasing times. This fixes #11519 because of the additional check to make sure that we have more than 1 frame. The PTS clamping part is still not great. That is for the next commit. |
||
---|---|---|
.. | ||
decode | ||
filter | ||
out | ||
csputils.c | ||
csputils.h | ||
cuda.c | ||
d3d.c | ||
d3d.h | ||
drmprime.c | ||
fmt-conversion.c | ||
fmt-conversion.h | ||
hwdec.c | ||
hwdec.h | ||
image_loader.c | ||
image_loader.h | ||
image_writer.c | ||
image_writer.h | ||
img_format.c | ||
img_format.h | ||
mp_image_pool.c | ||
mp_image_pool.h | ||
mp_image.c | ||
mp_image.h | ||
repack.c | ||
repack.h | ||
sws_utils.c | ||
sws_utils.h | ||
vaapi.c | ||
vaapi.h | ||
vdpau_functions.inc | ||
vdpau_mixer.c | ||
vdpau_mixer.h | ||
vdpau.c | ||
vdpau.h | ||
zimg.c | ||
zimg.h |