[gst-devel] Setting the volumen on a playbin
Ronald S. Bultje
rbultje at ronald.bitfreak.net
Fri Jun 17 00:13:40 CEST 2005
On Fri, 2005-06-17 at 01:27, Daniel Díaz wrote:
> On 6/16/05, Rios, Ariel <ariel at ti.com> wrote:
> > g_object_set (x, "volumen", 0, NULL);
> > (siobhan:192): GLib-GObject-WARNING **: g_object_set_valist: object class
> > `GstPlayBin' has no property named `volumen'
> It should read "volume".
And here, too, case to the right type. 0 is an int, the property (see
gst-inspect playbin) is of type double, so use:
g_object_set (x, "volume", (gdouble) 0, NULL);
Ronald S. Bultje <rbultje at ronald.bitfreak.net>
More information about the gstreamer-devel