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
@ -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…
x
Reference in New Issue
Block a user