inputselector: Fix waiting on sync-mode=clock
authorVivia Nikolaidou <vivia@ahiru.eu>
Mon, 24 Oct 2022 13:49:47 +0000 (16:49 +0300)
committerVivia Nikolaidou <vivia@ahiru.eu>
Tue, 22 Nov 2022 19:21:40 +0000 (21:21 +0200)
commit5fb71dd55b89afad202e66f071b0615dedf51871
tree7d18c46f6afb70430f08f197eb553d5712aceb60
parent6c007b893676c9cce0e685e0306265477581f9e1
inputselector: Fix waiting on sync-mode=clock

Basically copy over what clocksync does, but taking into account that we
have multiple upstream latencies.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3256>
subprojects/gstreamer/plugins/elements/gstinputselector.c
subprojects/gstreamer/plugins/elements/gstinputselector.h