From efb638efe83495510400b35207e213e9adaf6554 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 16 Sep 2013 13:30:33 -0300 Subject: [PATCH] pipeline: Let some queuing in encodebin It is sometimes necessary --- ges/ges-pipeline.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ges/ges-pipeline.c b/ges/ges-pipeline.c index bfd8dd3..7405d73 100644 --- a/ges/ges-pipeline.c +++ b/ges/ges-pipeline.c @@ -300,11 +300,7 @@ ges_pipeline_init (GESPipeline * self) gst_element_factory_make ("playsink", "internal-sinks"); self->priv->encodebin = gst_element_factory_make ("encodebin", "internal-encodebin"); - /* Limit encodebin buffering to 1 buffer since we know the various - * stream fed to it are decoupled already */ - g_object_set (self->priv->encodebin, "queue-buffers-max", (guint) 1, - "queue-bytes-max", (guint) 0, "queue-time-max", (guint64) 0, - "avoid-reencoding", TRUE, NULL); + g_object_set (self->priv->encodebin, "avoid-reencoding", TRUE, NULL); if (G_UNLIKELY (self->priv->playsink == NULL)) goto no_playsink; -- 2.7.4