1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 21:42:18 +00:00
mpv/video/filter
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
..
pullup.c
pullup.h
vf_crop.c vf_crop: make it work with more image formats 2013-01-13 20:04:12 +01:00
vf_delogo.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_divtc.c video: reset filters on seek 2013-01-20 03:25:44 +01:00
vf_dlopen.c mp_image: change how palette is handled 2013-01-13 20:04:11 +01:00
vf_dlopen.h
vf_down3dright.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_dsize.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_eq.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_expand.c vf_expand: support more image formats 2013-01-13 20:04:13 +01:00
vf_flip.c vf_flip: make it work with more image formats 2013-01-13 20:04:12 +01:00
vf_format.c vf_format: fix forcing output format 2013-01-17 16:40:07 +01:00
vf_gradfun.c vf_gradfun: does not work with NV pixel formats 2013-01-13 20:04:12 +01:00
vf_hqdn3d.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_ilpack.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_mirror.c vf_mirror: rewrite 2013-01-13 20:04:12 +01:00
vf_noformat.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_noise.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_phase.c vf_phase: reject unsupported image formats 2013-01-13 20:04:12 +01:00
vf_pp.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_pullup.c vf_pullup: remove check for MP_IMGFLAG_PLANAR 2013-01-13 20:04:12 +01:00
vf_rotate.c vf_rotate: support more image formats 2013-01-13 20:04:13 +01:00
vf_scale.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_screenshot.c vf_screenshot: simplify 2013-01-13 20:04:10 +01:00
vf_softpulldown.c video: reset filters on seek 2013-01-20 03:25:44 +01:00
vf_stereo3d.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vf_sub.c vf_sub: allow more formats, simplify code 2013-01-13 20:04:13 +01:00
vf_swapuv.c vf_swapuv: support more image formats 2013-01-13 20:04:13 +01:00
vf_unsharp.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vf_vo.c video: remove things related to old DR code 2013-01-13 20:04:10 +01:00
vf_yadif.c vf_yadif: Y8 is not supported 2013-01-13 20:04:13 +01:00
vf.c video: reset filters on seek 2013-01-20 03:25:44 +01:00
vf.h video: reset filters on seek 2013-01-20 03:25:44 +01:00