diff options
author | Niklas Haas <[email protected]> | 2025-08-12 12:17:41 +0200 |
---|---|---|
committer | Niklas Haas <[email protected]> | 2025-09-02 09:55:31 +0000 |
commit | 68c083c43ff7a87619e15f13205ad45767b9fb53 (patch) | |
tree | e4c81eb14fe082b9960e419580bd2cefebaf70dd /tests/checkasm/sw_ops.c | |
parent | fc5a6a3b390d2b2a0dbc6d1f1efa83a1f17a5d35 (diff) |
avfilter/vf_libplacebo: refactor status handling
Instead of having a single s->status field to track the most recently
EOF'd stream, track the number of active streams directly and only query
the most recent status at the end.
The reason this worked before is because we implicitly relied on the
assumption that `ok` would always be true until all streams are EOF, but
because it's possible to have gaps in the timeline when mixing multiple
streams, this is not always the case in principle.
In practice, this fixes a bug where the filter would early-exit (EOF)
too soon, when any input reached EOF and there is a gap in the timeline.
Diffstat (limited to 'tests/checkasm/sw_ops.c')
0 files changed, 0 insertions, 0 deletions