From: Wim Taymans Date: Fri, 5 Jun 2009 16:13:25 +0000 (+0200) Subject: decodebin2: make sure varargs are of right type X-Git-Tag: 1.19.3~511^2~9579 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef1030ee6e8f7ce8fbdd035c8e407c039e043da3;p=platform%2Fupstream%2Fgstreamer.git decodebin2: make sure varargs are of right type Explicitly cast the variables to g_object_set to their right types. --- 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);