[longomatch] editor: fix setting of queue properties



commit e1e2ffbe7d6c6fee8ee22084d2d90475b049c366
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Mar 9 14:48:03 2014 +0100

    editor: fix setting of queue properties

 libcesarplayer/gst-video-editor.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libcesarplayer/gst-video-editor.c b/libcesarplayer/gst-video-editor.c
index c258de1..9ec1982 100644
--- a/libcesarplayer/gst-video-editor.c
+++ b/libcesarplayer/gst-video-editor.c
@@ -244,7 +244,7 @@ gve_create_video_encode_bin (GstVideoEditor * gve)
 
   g_object_set (G_OBJECT (gve->priv->identity), "single-segment", TRUE, NULL);
   g_object_set (G_OBJECT (gve->priv->queue), "max-size-bytes", 4 * 1000 * 1000,
-      "max-size-buffers", 0, "max-size-time", 0, NULL);
+      "max-size-buffers", 0, "max-size-time", (guint64) 0, NULL);
 
   /*Add and link elements */
   gst_bin_add_many (GST_BIN (gve->priv->vencode_bin),
@@ -297,7 +297,8 @@ gve_create_audio_encode_bin (GstVideoEditor * gve)
   g_object_set (G_OBJECT (gve->priv->audioidentity), "single-segment", TRUE,
       NULL);
   g_object_set (G_OBJECT (gve->priv->audioqueue), "max-size-bytes",
-      4 * 1000 * 1000, "max-size-buffers", 0, "max-size-time", 0, NULL);
+      4 * 1000 * 1000, "max-size-buffers", 0, "max-size-time", (guint64) 0,
+      NULL);
 
   /*Add and link elements */
   gst_bin_add_many (GST_BIN (gve->priv->aencode_bin),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]