Accessing pipeline elements from a pipeline.
Stefan Sauer
ensonic at hora-obscura.de
Wed Mar 28 13:29:42 PDT 2012
On 03/28/2012 01:27 PM, Steve Cookson wrote:
>
> If I have a variable, like m_pipeline with several elements, how do I
> access the properties of the elements?
>
> So, while I'm creating the pipeline, I can use:
>
> g_object_set(G_OBJECT (filesink), "location", file://somefile.avi,
> NULL);
>
> How do I do the same thing, but via m_pipeline, can I extract the
> element name fist in some way?
>
gst_bin_get_by_name()
Stefan
>
> Thanks
>
> Steve
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120328/b1dbc97e/attachment.htm>
More information about the gstreamer-devel
mailing list