error message with 'spectrum' element

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


Hello 

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?


Victor
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110618/491e5e74/attachment-0001.htm>


More information about the gstreamer-devel mailing list