From b26cc16d1ec264bba3f8fe19c4037787191d2930 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Tue, 10 Apr 2018 10:20:52 +0100 Subject: [PATCH] fakevideosink: explicit type cast for max-lateness property setter g_object_set() expects the parameters values to be the exact type of the property being set. --- gst/debugutils/gstfakevideosink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/debugutils/gstfakevideosink.c b/gst/debugutils/gstfakevideosink.c index 4b98dfa97e..0ebec64ef3 100644 --- a/gst/debugutils/gstfakevideosink.c +++ b/gst/debugutils/gstfakevideosink.c @@ -179,8 +179,8 @@ gst_fake_video_sink_init (GstFakeVideoSink * self) GstPad *ghost_pad; /* mimic GstVideoSink base class */ - g_object_set (child, "max-lateness", 20000000, "qos", TRUE, "sync", TRUE, - NULL); + g_object_set (child, "max-lateness", G_GINT64_CONSTANT (20000000), "qos", + TRUE, "sync", TRUE, NULL); gst_bin_add (GST_BIN (self), child);