systemclock: Restore default clock mode to monotonic for non-linux system
authorSeungha Yang <seungha@centricular.com>
Tue, 20 Jul 2021 07:52:12 +0000 (16:52 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 26 Jul 2021 09:20:42 +0000 (09:20 +0000)
commitadd1f17c57a68e02a34765a4dd2312fbba8af333
treef26942714cfc3bcaa96a87eae0525c951f2bbe18
parentb1b5b2d4cd5f95696dafdaee60606b4d02a125a6
systemclock: Restore default clock mode to monotonic for non-linux system

Before the MR https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/829
Windows and macOS system clock used monotonic clock regardless of
selected clock mode. And because of clock resolution, we should prefer
monotonic over realtime unless realtime clock is selected explicitly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/855>
gst/gstsystemclock.c