identity, clocksync: implement provide_clock
authorMathieu Duponchelle <mathieu@centricular.com>
Mon, 1 Jun 2020 14:18:50 +0000 (16:18 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 5 Jun 2020 11:28:12 +0000 (11:28 +0000)
commitd46e902273f8610cb491985d5f49e7f09af8c1a8
treeccfffe400a5934a41d2f9bb92df367542962fddf
parent2cd23d67d33f9497aea20a0e181da8fd5dd63341
identity, clocksync: implement provide_clock

Since those are using the clock for sync, they need to also
provide a clock for good measure. The reason is that even if
downstream elements provide a clock, we don't want to have
that clock selected because it might not be running yet.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/509>
plugins/elements/gstclocksync.c
plugins/elements/gstidentity.c
tests/check/gst/gstbin.c