netclientclock: Preparation for NTPv4 support
authorSebastian Dröge <sebastian@centricular.com>
Sat, 6 Jun 2015 18:39:47 +0000 (20:39 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 6 Jun 2015 18:39:47 +0000 (20:39 +0200)
commitcc15f68b6aaddf247bd8429ea07a4537037fd2e4
treeb2e0393b467056e9317d95e4ec7cb7c2074aa835
parent8d6837edf57bafc9a76640c6cb41c2256863eaad
netclientclock: Preparation for NTPv4 support

We extend our calculations to work with local send time, remote receive time,
remote send time and local receive time. For the netclientclock protocol,
remote receive and send time are assumed to be the same value.

For the results, this modified calculation makes absolutely no difference
unless the two remote times are different.
libs/gst/net/gstnetclientclock.c