fix composite: kmsenctreebin.c use max-size-time instead of max-size-buffers
#define GST_CAT_DEFAULT kms_enc_tree_bin_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
+#define LEAKY_TIME 600000000 /*600 ms */
#define kms_enc_tree_bin_parent_class parent_class
G_DEFINE_TYPE (KmsEncTreeBin, kms_enc_tree_bin, KMS_TYPE_TREE_BIN);
@@ -479,7 +480,7 @@ kms_enc_tree_bin_configure (KmsEncTreeBin * self, const GstCaps * caps,
convert = kms_utils_create_convert_for_caps (caps);
mediator = kms_utils_create_mediator_element (caps);
queue = gst_element_factory_make ("queue", NULL);
- g_object_set (queue, "leaky", 2, "max-size-buffers", 1, NULL);
+ g_object_set (queue, "leaky", 2, "max-size-time", LEAKY_TIME, NULL);
if (rate) {
gst_bin_add (GST_BIN (self), rate);
