Custom GstBin/GstElement for filtering purposes

Olivier CrĂȘte olivier.crete at collabora.com
Sun Oct 19 13:41:36 PDT 2014


Hi, 

You may want to have a look at the autoconvert element which also picks an element at runtime (but based on the caps, so even later). You need to make sure that you link your element's src pad before the sink pad. 

Olivier 

On October 19, 2014 8:08:43 PM CEST, Ceri Coburn <ceri.coburn at gmail.com> wrote:
>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
>_______________________________________________
>gstreamer-devel mailing list
>gstreamer-devel at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Olivier Crête
olivier.crete at collabora.com


More information about the gstreamer-devel mailing list