Skip to content
Snippets Groups Projects
Commit 55816c92 authored by Matthieu Bouron's avatar Matthieu Bouron
Browse files

lavc/mediacodec: increase buffer dequeue timeout when the codec needs to be drained

Increase buffer dequeue timeout when the codec needs to be drained as it
could happen that no input buffer is available when we receive a null
packet for the first time (meaning we are unable to signal end of stream
and mark the codec as draining).

Fixes potential loss of last frames after sending a null packet.
parent b316ebf4
No related branches found
No related tags found
Loading
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