Skip to content
Snippets Groups Projects
Commit a75bb549 authored by Aman Gupta's avatar Aman Gupta
Browse files

avcodec/mediacodecdec: wait on first frame after input buffers are full


The output_buffer_count==0 special case is no longer required, and
can cause spurious EAGAIN to surface to the user when input buffers
are filled up. Since the caller now knows if the decoder is accepting
new input (via current_input_buffer>=0), let the wait parameter
control whether we block or not.

Signed-off-by: default avatarAman Gupta <aman@tmm1.net>
Signed-off-by: default avatarMatthieu Bouron <matthieu.bouron@gmail.com>
parent f6681fed
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