GESTimelinePipeline: Fix 32bit runtime issues

This commit is contained in:
Edward Hervey 2010-05-10 12:44:56 +02:00
parent e747ad4867
commit fbc80b1955

View file

@ -91,9 +91,8 @@ ges_timeline_pipeline_init (GESTimelinePipeline * self)
gst_element_factory_make ("encodebin", "internal-encodebin"); gst_element_factory_make ("encodebin", "internal-encodebin");
/* Limit encodebin buffering to 1 buffer since we know the various /* Limit encodebin buffering to 1 buffer since we know the various
* stream fed to it are decoupled already */ * stream fed to it are decoupled already */
g_object_set (self->encodebin, "queue-buffers-max", 1, g_object_set (self->encodebin, "queue-buffers-max", (guint32) 1,
"queue-bytes-max", 0, "queue-time-max", 0, "queue-bytes-max", (guint32) 0, "queue-time-max", (guint64) 0, NULL);
NULL);
if (G_UNLIKELY (self->playsink == NULL)) if (G_UNLIKELY (self->playsink == NULL))
GST_ERROR_OBJECT (self, "Can't create playsink instance !"); GST_ERROR_OBJECT (self, "Can't create playsink instance !");