mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
fakevideosink: Align max-lateness/processing-deadline to GstVideoSink
To emulate correctly the timing video of a real sink, let's set those properties just like a real video sink.
This commit is contained in:
parent
8e3472faee
commit
26ac42f7c0
1 changed files with 3 additions and 2 deletions
|
@ -180,8 +180,9 @@ gst_fake_video_sink_init (GstFakeVideoSink * self)
|
|||
GstPad *ghost_pad;
|
||||
|
||||
/* mimic GstVideoSink base class */
|
||||
g_object_set (child, "max-lateness", G_GINT64_CONSTANT (20000000), "qos",
|
||||
TRUE, "sync", TRUE, NULL);
|
||||
g_object_set (child, "max-lateness", 5 * GST_MSECOND,
|
||||
"processing-deadline", 15 * GST_MSECOND, "qos", TRUE, "sync", TRUE,
|
||||
NULL);
|
||||
|
||||
gst_bin_add (GST_BIN (self), child);
|
||||
|
||||
|
|
Loading…
Reference in a new issue