diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-09-08 19:42:23 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-09-12 12:25:39 +0200 |
commit | 6b652c0273d79f2e0c52ad91450bd0737cf3c8a6 (patch) | |
tree | 69dadd891c262b441d628fa8a3c44698f35deaaa /libavcodec/eatqi.c | |
parent | b84675d63aaede8f6944b901250a10456c5477e6 (diff) | |
download | ffmpeg-6b652c0273d79f2e0c52ad91450bd0737cf3c8a6.tar.gz |
mmaldec: fix problems with flush logic
Don't try to do a blocking wait for MMAL output if we haven't even sent
a single real packet, but only flush packets. Obviously we can't expect
to get anything back.
Additionally, don't send a flush packet to MMAL in the same case. It
appears the MMAL decoder will sometimes hang in mmal_vc_port_disable()
(called from ffmmal_close_decoder()), waiting for a reply from the GPU
which never arrives. Either MMAL disallows sending flush packets without
preceding real data, or it's a MMAL bug.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/eatqi.c')
0 files changed, 0 insertions, 0 deletions