Skip to content
Snippets Groups Projects
Commit 0b46c965 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

dav1d: Don't always immediately drain all pending frames

By only draining up to a single frame per `dav1d_send_data()` call, up
to `max_frame_delay` frames are queued up in the decoder and decoded in
parallel. Previously the code would always drain all frames immediately,
which made frame threading not very useful.

In addition this also works around a deadlock in dav1d on certain
streams.
parent d7a9bc23
No related branches found
No related tags found
No related merge requests found
Pipeline #306084 passed with stage
in 17 minutes and 54 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment