Skip to content

systemclock/win32: Don't divide by zero and don't always start at 0

Sebastian Dröge requested to merge slomo/gstreamer:win32-system-clock into master
commit b55d6c0b029ad1f3faf14f8bf54ac3d6667041e8 (HEAD -> win32-system-clock, gitlab-slomo/win32-system-clock)
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Mon Mar 9 15:17:08 2020 +0200

    systemclock: Don't start the system clock at 0 on Windows
    
    We kept the start time around and subtracted it everywhere for "easy of
    debugging", but we don't do anything like this anywhere else and it
    only complicates the code unnecessarily.

commit daf7df28dd72ffa0355f9c9518bc21dfb289c35c
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Mon Mar 9 15:16:00 2020 +0200

    systemclock: Don't divide by zero on Windows if high performance timers are not available
Edited by Sebastian Dröge

Merge request reports