mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
clocksync: Fix providing system clock by default
clocksync defaults to sync=true so should advertise it by default. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/795>
This commit is contained in:
parent
fdf6a793dc
commit
daf4e5b410
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ gst_clock_sync_init (GstClockSync * clocksync)
|
||||||
clocksync->sync = DEFAULT_SYNC;
|
clocksync->sync = DEFAULT_SYNC;
|
||||||
g_cond_init (&clocksync->blocked_cond);
|
g_cond_init (&clocksync->blocked_cond);
|
||||||
|
|
||||||
|
GST_OBJECT_FLAG_SET (clocksync, GST_ELEMENT_FLAG_PROVIDE_CLOCK);
|
||||||
GST_OBJECT_FLAG_SET (clocksync, GST_ELEMENT_FLAG_REQUIRE_CLOCK);
|
GST_OBJECT_FLAG_SET (clocksync, GST_ELEMENT_FLAG_REQUIRE_CLOCK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue