bus message interval cannot be changed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

bus message interval cannot be changed

victorvictor
Hello

I am using a 'level' element in a pipeline. When I set its "interval" property to 1000000000  ( = 1 second) or 100000000 (= 100 millisec), the message handler shows the message at the right frequency (I get a message printed every 1 second or every 100 millisec). But if I lower the "interval" value, a message is still displayed every 100 msec, not faster as I expected.

I am using the gst_bus_add_watch() function. I have tried with gst_bus_set_sync_handler () and also with the g_signal_connect (bus, "message::element", G_CALLBACK (message_handler), NULL) ...

But still it seems that the minimum interval between 2 messages on the bus is 100 msec and I cannot go lower...

Thank you

Victor