mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
decodebin2: make sure varargs are of right type
Explicitly cast the variables to g_object_set to their right types.
This commit is contained in:
parent
f444f0edce
commit
ef1030ee6e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue