Element properties on Playbin2?

Stefan Sauer ensonic at hora-obscura.de
Wed Dec 7 14:02:23 PST 2011


On 12/07/2011 10:52 AM, JohnJohn wrote:
> Hi,
>
> I am using a custom element, which I have loaded to Playbin2 (by setting the
> rank higher). Unfortunately, to make it work correctly I need to set some
> properties of that element, and I do not know how to do that, please.

Either iterator over the playbin children recursively until you have
your element or use
gst_child_proxy_set(playbin2, "path::to::your::element::property",
value, NULL);

You can do a pipleine dot dump in gst-launch to determine the "path".

Stefan

> Thanks a lot
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Element-properties-on-Playbin2-tp4168370p4168370.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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