Custom GstBin/GstElement for filtering purposes

Ceri Coburn ceri.coburn at gmail.com
Sun Oct 19 11:08:43 PDT 2014


Hi All,

I have written a GstBin and a GstElement for filterting h264
elementary stream data using GStreamer 0.10.36.  Essentially I have a
GstBin which acts as a
container for my GstElement.  During READY->PAUSED state change, the
highest priority h264 decoder is added to my GstBin and pads are
linked accordingly.  Now this seems to work for the most part, but on
occasion there seems to be some kind of timing issue where data is
pushed to the decoder element before the state change completes from
READY->PAUSED and the pipeline fails to preroll.  Is there anything
special I should be doing when adding the h264 decoder to the GstBin
during READY->PAUSED state change?  Should I be blocking the sink
ghost pad of my GstBin until I have linked the elements inside by GstBin
together?

Appreciate any help.
Thanks


More information about the gstreamer-devel mailing list