clocksync: Add a new property "sync-to-first" for automatic ts-offset setup
authorSeungha Yang <seungha@centricular.com>
Wed, 18 Nov 2020 13:32:30 +0000 (22:32 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 18 Mar 2021 14:22:44 +0000 (14:22 +0000)
commit69e6cd773a1da26dd6f22cf316132d34f1bb852f
treeb93c5fb2c71ce4e9969df6bb10edfb971b05b28b
parentc6a98609e5a10db9c29ce5f0a994ebf58072898b
clocksync: Add a new property "sync-to-first" for automatic ts-offset setup

Add a new property so that clocksync can setup "ts-offset" value
based on the first buffer and pipeline's running time when the
first arrived. Newly update "ts-offset" in this case would be
a value that allows outputting the first buffer without clock waiting.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/702>
docs/plugins/gst_plugins_cache.json
plugins/elements/gstclocksync.c
plugins/elements/gstclocksync.h
tests/check/elements/clocksync.c