mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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>
This commit is contained in:
parent
b1b5b2d4cd
commit
add1f17c57
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ struct _GstSystemClockPrivate
|
|||
# define DEFAULT_CLOCK_TYPE GST_CLOCK_TYPE_REALTIME
|
||||
# endif
|
||||
#else
|
||||
#define DEFAULT_CLOCK_TYPE GST_CLOCK_TYPE_REALTIME
|
||||
#define DEFAULT_CLOCK_TYPE GST_CLOCK_TYPE_MONOTONIC
|
||||
#endif
|
||||
|
||||
enum
|
||||
|
|
Loading…
Reference in a new issue