Unexplained freeze/hang from gst-omx omxh264enc on Raspberry Pi 3

Sebastian Dröge sebastian at centricular.com
Mon Nov 21 08:27:18 UTC 2016


On Sun, 2016-11-20 at 16:20 +0200, Graham Leggett wrote:
> 
> I am looking for some guidance on the real fix. Am I right in
> understand that GST_FLOW_EOS is the job of the parent video encoder
> class, and that gstomxvideodec.c has no business trying to return a
> GST_FLOW_EOS of it’s own?

Please file a bug about this.

The problem here seems to be that the draining does not work properly.
When draining, the element remembers that it does that currently and is
not supposed to send EOS downstream / return GST_FLOW_EOS. For some
reason this part of the code did not work as expected for you though
and that will have to be debugged and fixed. The intention here is to
ignore EOS when draining (and otherwise not ignore it), and to signal
the condition variable that is waiting for draining to finish.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161121/3792f7bc/attachment.sig>


More information about the gstreamer-devel mailing list