netclock: Don't update the clock when it desynch
authorJan Schmidt <jan@centricular.com>
Fri, 6 Feb 2015 17:22:22 +0000 (04:22 +1100)
committerJan Schmidt <jan@centricular.com>
Fri, 6 Feb 2015 17:41:52 +0000 (04:41 +1100)
commitf0e3b7f9044285c0ea64edb464b0859d451cca3f
tree90e6776353d7c97206b6dff88b3be478b56477c8
parent824b821caa4507ea46b3685cfcf37cfe7b322279
netclock: Don't update the clock when it desynch

Add a hold off when the clock calibration suddenly loses synch,
as it may be a glitch, but also make sure we update if it stays
desynched for more than a few seconds
libs/gst/net/gstnetclientclock.c