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.
This commit is contained in:
Philippe Normand 2018-04-10 10:20:52 +01:00 committed by Tim-Philipp Müller
parent c65a537a81
commit 855bec7578

View file

@ -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);