error message with 'spectrum' element

marcin at saepia.net marcin at saepia.net
Sat Jun 18 07:10:56 PDT 2011


AFAIR adding casting to uint64 should help

I mean

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

m.

2011/6/18 Victor henri <nadaeck at hotmail.com>:
> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


More information about the gstreamer-devel mailing list