error message with 'spectrum' element

Victor henri nadaeck at hotmail.com
Sat Jun 18 11:01:55 PDT 2011



Hello Marcin


> AFAIR adding casting to uint64 should help
> 
> I mean
> 
> g_object_set (G_OBJECT (spectrum), "bands", 11025, "interval",
> (uint64)200000000, "threshold", -80, NULL);

Yes casting to guint64 works; thank you so much!


> > 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);
> >

Victor

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110618/33e9af32/attachment.html>


More information about the gstreamer-devel mailing list