Understanding ring buffer in queue2, ring-buffer-max-size Vs max-size-bytes

Baby Octopus jagadishkamathk at gmail.com
Tue Feb 21 08:43:59 UTC 2017


Hi,

I'm using queue2 for pull mode operation. One parameter that I'm unable to
find resource is ring-buffer-max-size. How is it different from
max-size-bytes? I see MAX of these two values is used in queue2 code. 

Is there any relationship that we should maintain across the two? My
application is going into deadlock with jerky audio when both are set to
10MB. Deadlock goes off when ring-buffer-max-size = 2 * max-size-bytes

gst-launch-1.0 filesrc ! tee ! queue2 ring-buffer-max-size=20000000
max-size-bytes=10000000 ! .. works fine

It would be helpful if there is any documentation on this

Thank you,

~BO



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Understanding-ring-buffer-in-queue2-ring-buffer-max-size-Vs-max-size-bytes-tp4681966.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list