aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/cmdutils.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-05-21 12:22:56 +0200
committerNiklas Haas <git@haasn.dev>2023-05-22 10:31:13 +0200
commitc00fd025587fc8f028cda2c36f0061070fe91a35 (patch)
tree7d0f0a569f02b4fd30d3a62f0a79f606131ebba2 /fftools/cmdutils.c
parent7428f1e8f2d1ed2d43edbb240d776a39ea205512 (diff)
downloadffmpeg-c00fd025587fc8f028cda2c36f0061070fe91a35.tar.gz
lavfi/libplacebo: properly handle EOF
The current code relied on pl_queue eventually returning EOF back to the caller, which didn't work in all situations (e.g. single frame input). Also, the current code assumed that ff_inlink_acknowledge_status only fired once, which was patently not true, as the above edge cases demonstrated. Solve both issues by keeping track of the acknowledged link status and forwarding it (instead of trying to probe the pl_queue again) in the event that we run out of queued input frames, as well as (in CFR mode) when we pass the indicated status PTS.
Diffstat (limited to 'fftools/cmdutils.c')
0 files changed, 0 insertions, 0 deletions