Commit d2da80e4 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

ptp: Fix debug output to print the difference instead of absolute values

parent e11568c5
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment