summaryrefslogtreecommitdiff
path: root/libavcodec/mediacodecdec.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-04 11:53:41 -0700
commita75bb5496ac6e7e194f1c6fd3b87f02a52e74adb (patch)
tree065aea250ffd70a8aeaf51a8cc62d8480e6c3f1b /libavcodec/mediacodecdec.c
parentf6681feda641c026d84f6d207f661bf9b87d9d70 (diff)
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>
Diffstat (limited to 'libavcodec/mediacodecdec.c')
0 files changed, 0 insertions, 0 deletions