multiqueue: Add higher-resolution low/high-watermark properties
authorCarlos Rafael Giani <dv@pseudoterminal.org>
Wed, 31 Aug 2016 07:49:03 +0000 (09:49 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 31 Aug 2016 09:56:19 +0000 (12:56 +0300)
commit5988095f90d273fe11725deac2d73833a336ee87
tree44c7f59b6516ae46a4889fb9caac52651281e86a
parent67874ea86d3eaa1197d34477c41d18f82e15d790
multiqueue: Add higher-resolution low/high-watermark properties

low/high-watermark are of type double, and given in range 0.0-1.0. This
makes it possible to set low/high watermarks with greater resolution,
which is useful with large multiqueue max sizes and watermarks like 0.5%.

Also adding a test to check the fill and watermark level behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=770628
plugins/elements/gstmultiqueue.c
tests/check/elements/multiqueue.c