aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hap.c
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2018-04-24 18:54:45 -0700
committerAman Gupta <aman@tmm1.net>2018-05-18 19:16:34 -0700
commitdb5631e4087f8034c47257542fb813c9417dcf23 (patch)
tree7d8835d2540727645340976302955d633df9bf52 /libavcodec/hap.c
parentdf2c811b7ce32348198b8bf2fa3dc884696c2160 (diff)
downloadffmpeg-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/hap.c')
0 files changed, 0 insertions, 0 deletions