Files
ffmpeg/libavcodec
Aman Gupta 3172b31223 avcodec/mediacodecdec: fix immediate EAGAIN with buffered packet
In cases where the mediacodec decoder consumed a partial packet,
receive_frame() would start returning EAGAIN if the rest of the
packet couldn't be flushed and no frames were immediately available.

This fixes receive_frame() to perform its normal blocking wait for
new frames before returning EAGAIN. Fixes an issue I could reproduce
fairly often on a FireOS 6 device, and reported to be happening
intermittently by two mpv users.

Signed-off-by: Aman Gupta <aman@tmm1.net>
Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
2018-03-13 12:32:08 -07:00
..
2018-03-07 22:26:53 +01:00
2018-02-09 22:10:56 +01:00
2018-02-24 17:06:31 +01:00
2018-02-24 17:06:31 +01:00
2018-01-05 03:35:48 +01:00
2017-12-10 14:43:01 +01:00
2018-02-24 17:06:31 +01:00
2017-12-11 00:42:26 -03:00
2018-02-21 23:38:10 +00:00
2017-12-10 14:43:01 +01:00
2018-02-27 16:22:12 +01:00
2018-01-03 13:00:06 -05:00
2018-03-07 22:26:53 +01:00
2017-12-19 23:22:35 +00:00
2018-03-07 22:26:53 +01:00
2018-02-24 04:50:55 +01:00
2018-02-21 23:38:30 +00:00
2018-02-21 23:38:30 +00:00
2017-12-19 23:21:59 +00:00
2017-12-19 23:21:59 +00:00