mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +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
5409cd4920
commit
b26cc16d1e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue