aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs_bsf.h
diff options
context:
space:
mode:
authormail@nodoa.me <mail@nodoa.me>2022-11-03 14:40:31 +0000
committerPaul B Mahol <onemda@gmail.com>2022-11-05 11:50:36 +0100
commite8850bc2a8590ac66346de7a6d4831d1778746d1 (patch)
tree199715e88965091b487256dcb13afc82ab2c7973 /libavcodec/cbs_bsf.h
parent5c2a29cf7239e78db7dfa27182144f68da88ca5c (diff)
downloadffmpeg-e8850bc2a8590ac66346de7a6d4831d1778746d1.tar.gz
lavfi/vf_fieldmatch: keep fields as-is if not matched properly
Makes it possible to use deinterlacers which output one frame for each field as fallback if field matching fails (combmatch=full). Currently, the documented example with fallback on a post-deinterlacer will only work in case the deinterlacer outputs one frame per first field (as yadif=mode=0). The reason for that is that fieldmatch will attempt to match the second field regardless of whether it recognizes the end result is still interlaced. This produces garbled output with for example mixed telecined 24fps and 60i content combined with a field-based deinterlaced such as yadif=mode=1. This patch orders fieldmatch to revert to using the second field of the current frame in case the end result is still interlaced and a post-deinterlacer is assumed to be used. Signed-off-by: lovesyk <lovesyk@users.noreply.github.com>
Diffstat (limited to 'libavcodec/cbs_bsf.h')
0 files changed, 0 insertions, 0 deletions