[gst-devel] playbin2 properties

Stefan Kost ensonic at hora-obscura.de
Thu Jun 3 22:48:01 CEST 2010

Am 03.06.2010 20:59, schrieb pl bossart:
>>> Is there a trick to set those properties on the sink without changing
>>> the code?
>> You can use gst_child_proxy_set(), or just read the audio_sink property
>> and do g_object_set() there.
> I understand that there's support to get/set the properties of a
> child, but what I really wanted is to have the child properties show
> as part of the ntaive ones supported by playbin2. For example
> gst-inspect playbin2 would return audiosink::buffer-latency, 

that does not work as the ontent of a bin might be dynamic.

> likewise gst-launch playbin2 uri=<> audiosink::buffer-latency=100000
> would set the audio sink property.

that works (its a parse_launch feature). You can also use fully pipeline for
gstelement arguments:
gst-launch playbin2 uri=<> audio-sink="audiodelay ! pulsesink"


> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

More information about the gstreamer-devel mailing list