From: Doug Nazar Date: Wed, 7 Apr 2021 08:46:23 +0000 (-0400) Subject: clocksync: Fix providing system clock by default X-Git-Tag: 1.19.3~584 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f52937d1fff96e215359c5b7910c424a2b2c495e;p=platform%2Fupstream%2Fgstreamer.git clocksync: Fix providing system clock by default clocksync defaults to sync=true so should advertise it by default. Part-of: --- diff --git a/plugins/elements/gstclocksync.c b/plugins/elements/gstclocksync.c index 5b841db..96c70d0 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); }