projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5b2df52
)
netclock: Fix C99 comment
author
Jan Schmidt
<jan@centricular.com>
Mon, 25 Nov 2013 15:43:54 +0000
(
02:43
+1100)
committer
Jan Schmidt
<jan@centricular.com>
Mon, 25 Nov 2013 15:43:54 +0000
(
02:43
+1100)
libs/gst/net/gstnetclientclock.c
patch
|
blob
|
history
diff --git
a/libs/gst/net/gstnetclientclock.c
b/libs/gst/net/gstnetclientclock.c
index
0d40f33
..
8ecb31f
100644
(file)
--- a/
libs/gst/net/gstnetclientclock.c
+++ b/
libs/gst/net/gstnetclientclock.c
@@
-232,7
+232,7
@@
gst_net_client_clock_observe_times (GstNetClientClock * self,
* the network get picked up, eventually */
if (priv->rtt_avg == GST_CLOCK_TIME_NONE)
priv->rtt_avg = rtt;
* the network get picked up, eventually */
if (priv->rtt_avg == GST_CLOCK_TIME_NONE)
priv->rtt_avg = rtt;
- else if (rtt < priv->rtt_avg) /
/ Shorter RTTs carry more weight than longer
+ else if (rtt < priv->rtt_avg) /
* Shorter RTTs carry more weight than longer */
priv->rtt_avg = (3 * priv->rtt_avg + rtt) / 4;
else
priv->rtt_avg = (7 * priv->rtt_avg + rtt) / 8;
priv->rtt_avg = (3 * priv->rtt_avg + rtt) / 4;
else
priv->rtt_avg = (7 * priv->rtt_avg + rtt) / 8;