netclientclock: Only ever run one clock against a specific server
authorSebastian Dröge <sebastian@centricular.com>
Mon, 4 Jan 2016 14:31:23 +0000 (16:31 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 4 Jan 2016 14:31:23 +0000 (16:31 +0200)
commit33dcec7b748aee42518586c78656e060cc584412
treecc6c27ecd3edb0281ec643bbafadb593d60c24a8
parent23abc425d4b63005adf224ab975f6904fa693040
netclientclock: Only ever run one clock against a specific server

If multiple net/NTP clocks are created for the same server, reuse the same
internal clock for all of them. This makes sure that we don't flood the server
with too many requests and also possibly allows faster synchronization if
there already was an earlier synchronized clock when creating a new one.
libs/gst/net/gstnetclientclock.c