aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2018-03-13 02:40:09 -0700
committerAman Gupta <aman@tmm1.net>2018-03-13 12:32:08 -0700
commit3172b31223e1f0a64233fa5b355e11d7a00e477b (patch)
treeba2ba274ecfbb13e30fad626a7903995cdaa221a /libavfilter
parentf56ee7403384a7aae0f5ee5aa76da0dedfdd7c35 (diff)
downloadffmpeg-3172b31223e1f0a64233fa5b355e11d7a00e477b.tar.gz
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>
Diffstat (limited to 'libavfilter')
0 files changed, 0 insertions, 0 deletions