[gst-devel] playbin volume

Christopher Backhouse cjbackhouse at gmail.com
Tue Oct 10 02:16:43 CEST 2006


gst-inspect-0.10 playbin

informs me that GstPlayBin has a property called "volume" which is
readable & writable.
So how comes


#include <gst/gst.h>
int main(int argc,char** argv)
{
     gst_init(&argc,&argv);
     GstElement* play=gst_element_factory_make("playbin","myplayer");
     g_object_set(G_OBJECT(play),"name","foo",NULL);
     g_object_set(G_OBJECT(play),"volume",2,NULL);
       return 0;
}


sets the name fine but gives me

(test:26016): GLib-GObject-WARNING **: IA__g_object_set_valist: object
class `GstPlayBin' has no property named `<\xa8\u0012'

whilst trying to set the volume?


Thanks - Chris





More information about the gstreamer-devel mailing list