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:
e11568c
)
ptp: Fix debug output to print the difference instead of absolute values
author
Sebastian Dröge
<sebastian@centricular.com>
Wed, 3 Jun 2015 14:08:43 +0000
(16:08 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 3 Jun 2015 14:09:17 +0000
(16:09 +0200)
libs/gst/net/gstptpclock.c
patch
|
blob
|
history
diff --git
a/libs/gst/net/gstptpclock.c
b/libs/gst/net/gstptpclock.c
index
59f516b
..
bdc7b98
100644
(file)
--- a/
libs/gst/net/gstptpclock.c
+++ b/
libs/gst/net/gstptpclock.c
@@
-1329,7
+1329,8
@@
update_mean_path_delay (PtpDomainData * domain, PtpPendingSync * sync)
sync->sync_recv_time_local + 2 * domain->mean_path_delay) {
GST_WARNING ("Sync-follow-up delay for domain %u too big: %" GST_TIME_FORMAT
" > 2 * %" GST_TIME_FORMAT, domain->domain,
- GST_TIME_ARGS (sync->follow_up_recv_time_local),
+ GST_TIME_ARGS (sync->follow_up_recv_time_local -
+ sync->sync_recv_time_local),
GST_TIME_ARGS (domain->mean_path_delay));
ret = FALSE;
goto out;