Accessing pipeline elements from a pipeline.

classic Classic list List threaded Threaded
3 messages Options
it
Reply | Threaded
Open this post in threaded view
|

Accessing pipeline elements from a pipeline.

it
Blank

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?

Thanks

Steve

 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

Blank Bkgrd.gif (202 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Accessing pipeline elements from a pipeline.

Stefan Sauer
On 03/28/2012 01:27 PM, Steve Cookson wrote:
Blank

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 [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
it
Reply | Threaded
Open this post in threaded view
|

RE: Accessing pipeline elements from a pipeline.

it
Great, thanks Stefan.

________________________________

From: gstreamer-devel-bounces+it=[hidden email]
[mailto:gstreamer-devel-bounces+it=[hidden email]] On
Behalf Of Stefan Sauer
Sent: 28 March 2012 17:30
To: [hidden email]
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
        [hidden email]
        http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
       



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel