diff options
author | Aman Gupta <aman@tmm1.net> | 2018-04-24 18:54:45 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2018-05-04 11:53:41 -0700 |
commit | a75bb5496ac6e7e194f1c6fd3b87f02a52e74adb (patch) | |
tree | 065aea250ffd70a8aeaf51a8cc62d8480e6c3f1b /libavcodec/flacdsp_lpc_template.c | |
parent | f6681feda641c026d84f6d207f661bf9b87d9d70 (diff) | |
download | ffmpeg-a75bb5496ac6e7e194f1c6fd3b87f02a52e74adb.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>
Diffstat (limited to 'libavcodec/flacdsp_lpc_template.c')
0 files changed, 0 insertions, 0 deletions