error message with 'spectrum' element

Victor henri nadaeck at
Fri Jun 17 16:03:00 PDT 2011


I'm using a 'spectrum' element that works fine. Source is either microphone(via 'alsasrc' element), or an audio file (via 'playbin2' element), or jack (via 'jackaudiosrc'). 

However, when I start the app in command line, I always get the error message  :

GLib-GObject-WARNING **: g_object_set_valist: object class `GstSpectrum' has no property named `'

My code looks like this :

spectrum = gst_element_factory_make ("spectrum", "spectrum");
g_assert (spectrum);    
g_object_set (G_OBJECT (spectrum), "bands", 11025, "interval", 200000000, "threshold", -80, NULL);

However, my app works fine, just as I want. 

Any sugestions? Should I ignore it?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list