<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<br>Hello Marcin<br><div><br><br>> AFAIR adding casting to uint64 should help<br>> <br>> I mean<br>> <br>> g_object_set (G_OBJECT (spectrum), "bands", 11025, "interval",<br>> (uint64)200000000, "threshold", -80, NULL);<br><br>Yes casting to guint64 works; thank you so much!<br><br><br>> > However, when I start the app in command line, I always get the error<br>> > message :<br>> ><br>> > GLib-GObject-WARNING **: g_object_set_valist: object class `GstSpectrum' has<br>> > no property named `'<br>> ><br>> > My code looks like this :<br>> ><br>> > spectrum = gst_element_factory_make ("spectrum", "spectrum");<br>> > g_assert (spectrum);<br>> > g_object_set (G_OBJECT (spectrum), "bands", 11025, "interval", 200000000,<br>> > "threshold", -80, NULL);<br>> ><br><br>Victor<br><br></div>                                            </div></body>
</html>