From ef1030ee6e8f7ce8fbdd035c8e407c039e043da3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 5 Jun 2009 18:13:25 +0200 Subject: [PATCH] decodebin2: make sure varargs are of right type Explicitly cast the variables to g_object_set to their right types. --- gst/playback/gstdecodebin2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index cbe1e31..6fff157 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -1819,8 +1819,8 @@ gst_decode_group_new (GstDecodeBin * dbin, gboolean use_queue) * memory. When this queue overruns, we assume the group is complete and can * be exposed. */ g_object_set (G_OBJECT (mq), - "max-size-bytes", 2 * 1024 * 1024, - "max-size-time", 0, "max-size-buffers", 0, NULL); + "max-size-bytes", (guint) 2 * 1024 * 1024, + "max-size-time", (guint64) 0, "max-size-buffers", (guint) 0, NULL); /* will expose the group */ group->overrunsig = g_signal_connect (G_OBJECT (mq), "overrun", G_CALLBACK (multi_queue_overrun_cb), group); -- 2.7.4