1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 06:11:10 +00:00
mpv/video
wm4 326820b0ff video: reset filters on seek
Drop queued frames on seek. Reset the internal state of some filters
that seem to need it as well: at least vf_divtc still produced some
frames using the previous PTS.

This fixes weird behavior with some filters on seeking. In particular,
this could lead to A/V desync or apparent lockups due to the PTS of
filtered frames being too far away from audio PTS.

This commit does only the minimally required work to fix these PTS
related issues. Some filters have state dependent on previously filtered
frames, and these are not automatically reset with this commit (even
vf_divtc and vf_softpulldown reset the PTS info only). Filters that
actually require a full reset can implement VFCTRL_SEEK_RESET.
2013-01-20 03:25:44 +01:00
..
decode Silence two compiler warnings 2013-01-16 02:03:21 +01:00
filter video: reset filters on seek 2013-01-20 03:25:44 +01:00
out osxbundle: cocoa_common: change playlist on fileopen events 2013-01-16 22:27:04 +01:00
csputils.c
csputils.h
fmt-conversion.c options: also accept ffmpeg pixel format names 2013-01-17 16:39:26 +01:00
fmt-conversion.h
image_writer.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
image_writer.h
img_format.c options: also accept ffmpeg pixel format names 2013-01-17 16:39:26 +01:00
img_format.h mp_image: remove mp_image.bpp 2013-01-13 20:04:13 +01:00
img_fourcc.h video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
memcpy_pic.h vf_expand: support more image formats 2013-01-13 20:04:13 +01:00
mp_image_pool.c mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
mp_image_pool.h mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
mp_image.c mp_image: remove mp_image.bpp 2013-01-13 20:04:13 +01:00
mp_image.h mp_image: remove mp_image.bpp 2013-01-13 20:04:13 +01:00
sws_utils.c video: cleanup: replace old mp_image function names 2013-01-13 20:04:11 +01:00
sws_utils.h sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
vfcap.h video/out: replace VFCAP_TIMER with vo->untimed, fix vo_image and vo_lavc 2013-01-13 20:04:10 +01:00