Accessing pipeline elements from a pipeline.
Steve Cookson
it at sca-uk.com
Thu Mar 29 04:37:52 PDT 2012
Great, thanks Stefan.
________________________________
From: gstreamer-devel-bounces+it=sca-uk.com at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+it=sca-uk.com at lists.freedesktop.org] On
Behalf Of Stefan Sauer
Sent: 28 March 2012 17:30
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: Accessing pipeline elements from a pipeline.
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
More information about the gstreamer-devel
mailing list