mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
ges: fix some not entirely correct casts for vararg function arguments
This commit is contained in:
parent
efeb450be8
commit
6ab94bc79b
3 changed files with 4 additions and 4 deletions
|
@ -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))
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue