Skip to content
Snippets Groups Projects
Commit 2d300b62 authored by Sebastian Dröge's avatar Sebastian Dröge Committed by Steve Lhomme
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 f4e615a2
No related branches found
No related tags found
Loading
Pipeline #307484 passed with stage
in 28 minutes and 30 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