diff options
author | Doug Nazar <nazard@nazar.ca> | 2021-04-07 04:46:23 -0400 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-04-08 07:27:07 +0000 |
commit | f52937d1fff96e215359c5b7910c424a2b2c495e (patch) | |
tree | 4965e2142a52485301c04a999515f91538a8739e /plugins/elements/gstclocksync.c | |
parent | 9f958058697e6fbf5bde325228034572331d1a3a (diff) | |
download | gstreamer-f52937d1fff96e215359c5b7910c424a2b2c495e.tar.gz |
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/786>
Diffstat (limited to 'plugins/elements/gstclocksync.c')
-rw-r--r-- | plugins/elements/gstclocksync.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/elements/gstclocksync.c b/plugins/elements/gstclocksync.c index 5b841db5f8..96c70d0117 100644 --- a/plugins/elements/gstclocksync.c +++ b/plugins/elements/gstclocksync.c @@ -207,6 +207,7 @@ gst_clock_sync_init (GstClockSync * clocksync) clocksync->sync_to_first = DEFAULT_SYNC_TO_FIRST; 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); } |