diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2022-10-19 10:38:41 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2022-11-21 23:52:02 +0800 |
commit | b1facd11a3cc00362949ea14d9eab30496cf0268 (patch) | |
tree | 62526e3e9345675fa88006fa913a58b0aa903d88 /tests/ref/lavf/sun | |
parent | 093c4373214f002decc73ce337450d7ec641b3f4 (diff) | |
download | ffmpeg-b1facd11a3cc00362949ea14d9eab30496cf0268.tar.gz |
avcodec/mediacodecdec: don't break out if both input and output port return try again
At the beginning of decoding, if we feed mediacodec too fast, the
input port will return try again. It takes some time for mediacodec
to consume bitstream and output frame. So the output port also return
try again. It possible that mediacodec_receive_frame doesn't consume
any AVPacket and no AVFrame is output. Then both avcodec_send_packet()
and avcodec_receive_frame() return EAGAIN, which shouldn't happen.
This bug can be produced with decoding benchmark on Pixel 3.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'tests/ref/lavf/sun')
0 files changed, 0 insertions, 0 deletions