From 2022c10d0f2d307360618febc9d2d0acf3676a2f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 20 May 2016 16:42:12 +0200 Subject: Embellish warning about timestamp --- src/OutputUHD.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp index 74ff042..3875ddb 100644 --- a/src/OutputUHD.cpp +++ b/src/OutputUHD.cpp @@ -690,9 +690,11 @@ void UHDWorker::handle_frame(const struct UHDWorkerFrameData *frame) if (expected_sec != tx_second or expected_pps != tx_pps) { - etiLog.level(warn) << "OutputUHD: tx time unexpected!" << - " exp " << expected_sec << " " << expected_pps << - " got " << tx_second << " " << tx_pps; + etiLog.level(warn) << "OutputUHD: timestamp irregularity!" << + " Expected " << expected_sec << "+" << + (double)expected_pps/16384000.0 << + " Got " << tx_second << "+" << + (double)tx_pps/16384000.0; timestamp_discontinuity = true; } -- cgit v1.2.3