Changeset 67db57ea in ffmpeg

Timestamp:
Aug 11, 2015, 10:14:15 AM (9 years ago)
Author:
wm4 <nfxjfg@googlemail.com>
Branches:
master
Children:
44857e7a
Parents:
7f116973
git-author:
wm4 <nfxjfg@googlemail.com> (08/11/15 10:11:04)
git-committer:
wm4 <nfxjfg@googlemail.com> (08/11/15 10:14:15)
Message:

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.

(No files)

Note: See TracChangeset for help on using the changeset viewer.