ges: fix some not entirely correct casts for vararg function arguments

This commit is contained in:
Tim-Philipp Müller 2012-05-01 19:16:42 +01:00
parent efeb450be8
commit 6ab94bc79b
3 changed files with 4 additions and 4 deletions

View file

@ -136,8 +136,8 @@ ges_timeline_pipeline_init (GESTimelinePipeline * self)
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", (guint32) 1,
"queue-bytes-max", (guint32) 0, "queue-time-max", (guint64) 0,
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);
if (G_UNLIKELY (self->priv->playsink == NULL))

View file

@ -162,7 +162,7 @@ ges_track_text_overlay_create_element (GESTrackObject * object)
g_object_set (text, "halignment", (gint) self->priv->halign, "valignment",
(gint) self->priv->valign, NULL);
g_object_set (text, "color", (guint32) self->priv->color, NULL);
g_object_set (text, "color", (guint) self->priv->color, NULL);
g_object_set (text, "xpos", (gdouble) self->priv->xpos, NULL);
g_object_set (text, "ypos", (gdouble) self->priv->ypos, NULL);

View file

@ -161,7 +161,7 @@ ges_track_title_source_create_element (GESTrackObject * object)
g_object_set (background, "pattern", (gint) GES_VIDEO_TEST_PATTERN_BLACK,
NULL);
g_object_set (text, "color", (guint32) self->priv->color, NULL);
g_object_set (text, "color", (guint) self->priv->color, NULL);
g_object_set (text, "xpos", (gdouble) self->priv->xpos, NULL);
g_object_set (text, "ypos", (gdouble) self->priv->ypos, NULL);