[gst-devel] playbin2 properties
Zhao, Halley
halley.zhao at intel.com
Fri Jul 23 07:35:54 CEST 2010
I tried:
gst_child_proxy_set(GST_OBJECT(playbin), "audiosink::buffer-time", 3000000, NULL);
however, it returns with warning:
"no property audiosink::buffer-time in object player"
Similar warning for "audio-sink::mute".
-----Original Message-----
From: Stefan Kost [mailto:ensonic at hora-obscura.de]
Sent: 2010年6月4日 4:48
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] playbin2 properties
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.
and
> 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"
Stefan
>
> ------------------------------------------------------------------------------
> 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
------------------------------------------------------------------------------
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