aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-06-15 15:41:57 +0200
committerNiklas Haas <git@haasn.dev>2023-06-20 17:09:57 +0200
commit93c7e8c0ae2948ba68d1b9ef7d939f96d06cbc50 (patch)
treebe1019bc614c7f316c90bc7af84ce68523398258 /libavutil
parent666c8aa4d7d302c15bed862b9c183f057b133e3a (diff)
downloadffmpeg-93c7e8c0ae2948ba68d1b9ef7d939f96d06cbc50.tar.gz
lavfi/vf_libplacebo: factor out ref frame logic
Instead of finding the ref frame in output_frame() and then passing its signature to update_crops(), pull out the logic and invoke it a second time inside update_crops(). This may seem wasteful at present, but will actually become required in the future, since update_crops() runs on *every* input, and needs values specific to that input (which the signature isn't), while output_frame() is only interested in a single input. It's much easier to just split the logic cleanly.
Diffstat (limited to 'libavutil')
0 files changed, 0 insertions, 0 deletions