From cee05343f02251199140ad8f99baabe26032e292 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 27 Mar 2024 13:53:21 -0400 Subject: [PATCH] v4l2codecs: alphadecoder: Explicitly pass 64 bit integers as such through varargs Part-of: --- .../sys/v4l2codecs/gstv4l2codecalphadecodebin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codecalphadecodebin.c b/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codecalphadecodebin.c index 72927d8201..7cb08ff297 100644 --- a/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codecalphadecodebin.c +++ b/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codecalphadecodebin.c @@ -172,10 +172,10 @@ gst_v4l2_codec_alpha_decode_bin_constructed (GObject * obj) gst_ghost_pad_set_target (GST_GHOST_PAD (src_gpad), src_pad); gst_object_unref (src_pad); - g_object_set (queue, "max-size-bytes", 0, "max-size-time", 0, - "max-size-buffers", 1, NULL); - g_object_set (alpha_queue, "max-size-bytes", 0, "max-size-time", 0, - "max-size-buffers", 1, NULL); + g_object_set (queue, "max-size-bytes", 0, "max-size-time", + G_GUINT64_CONSTANT (0), "max-size-buffers", 1, NULL); + g_object_set (alpha_queue, "max-size-bytes", 0, "max-size-time", + G_GUINT64_CONSTANT (0), "max-size-buffers", 1, NULL); /* signal success, we will handle this in NULL->READY transition */ priv->constructed = TRUE;