mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 04:45:36 +00:00
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:
parent
c65a537a81
commit
855bec7578
1 changed files with 2 additions and 2 deletions
|
@ -179,8 +179,8 @@ gst_fake_video_sink_init (GstFakeVideoSink * self)
|
||||||
GstPad *ghost_pad;
|
GstPad *ghost_pad;
|
||||||
|
|
||||||
/* mimic GstVideoSink base class */
|
/* mimic GstVideoSink base class */
|
||||||
g_object_set (child, "max-lateness", 20000000, "qos", TRUE, "sync", TRUE,
|
g_object_set (child, "max-lateness", G_GINT64_CONSTANT (20000000), "qos",
|
||||||
NULL);
|
TRUE, "sync", TRUE, NULL);
|
||||||
|
|
||||||
gst_bin_add (GST_BIN (self), child);
|
gst_bin_add (GST_BIN (self), child);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue