From: Thibault Saunier Date: Mon, 16 Sep 2013 16:30:33 +0000 (-0300) Subject: pipeline: Let some queuing in encodebin X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efb638efe83495510400b35207e213e9adaf6554;p=platform%2Fupstream%2Fgst-editing-services.git pipeline: Let some queuing in encodebin It is sometimes necessary --- 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;