|
Hello all,
I have a glitch comming from a device with sends data and from a gstreamer pipeline using alsasrc I can playback the stream. When I pause->play (change state) I have a glitch , I guess a slice from the buffer is played to empty it. Anyway, I tried using a queue between decoder and sink, and I don't understand why que properties and signals don't work properly. Here is what I am doing :
/*after create pipeline*/
g_object_set(G_OBJECT(queue), "max-size-bytes", 100000, NULL);
g_signal_connect(G_OBJECT(queue), "notify::current-level-bytes", G_CALLBACK(test), NULL);
Note: the signal is never received.Where is my mistake, or how can I extract the buffer current size from the queue? Or maybe another approach can be suggested!
Thanks.
Cristian
|