From fcf22b37900f8284bdb7c66f0d996c2f57a958df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 27 Mar 2024 16:17:44 +0200 Subject: [PATCH] alphadecodebin: Explicitly pass 64 bit integers as such through varargs Maybe fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3422 Part-of: --- .../gst-plugins-bad/gst/codecalpha/gstalphadecodebin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst/codecalpha/gstalphadecodebin.c b/subprojects/gst-plugins-bad/gst/codecalpha/gstalphadecodebin.c index 16b62858c9..fdd6eead97 100644 --- a/subprojects/gst-plugins-bad/gst/codecalpha/gstalphadecodebin.c +++ b/subprojects/gst-plugins-bad/gst/codecalpha/gstalphadecodebin.c @@ -169,10 +169,10 @@ gst_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;