diff options
author | Aman Gupta <aman@tmm1.net> | 2018-04-24 18:54:45 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2018-05-18 19:16:34 -0700 |
commit | db5631e4087f8034c47257542fb813c9417dcf23 (patch) | |
tree | 7d8835d2540727645340976302955d633df9bf52 /libavcodec/pngdsp.c | |
parent | df2c811b7ce32348198b8bf2fa3dc884696c2160 (diff) | |
download | ffmpeg-db5631e4087f8034c47257542fb813c9417dcf23.tar.gz |
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: Aman Gupta <aman@tmm1.net>
Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
(cherry picked from commit a75bb5496ac6e7e194f1c6fd3b87f02a52e74adb)
Diffstat (limited to 'libavcodec/pngdsp.c')
0 files changed, 0 insertions, 0 deletions