From 324d29fb0c2c4d68e7bd98ebce88349c6b49418d Mon Sep 17 00:00:00 2001 From: Thulinma Date: Fri, 27 May 2016 15:40:11 +0200 Subject: [PATCH] Better track time mismatch message. --- src/output/output.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/output/output.cpp b/src/output/output.cpp index 20c5e90d..5a7beffa 100644 --- a/src/output/output.cpp +++ b/src/output/output.cpp @@ -1152,12 +1152,12 @@ namespace Mist { if (thisPacket.getTime() != nxt.time && nxt.time && !atLivePoint){ static int warned = 0; if (warned < 5){ - WARN_MSG("Loaded %s track %ld@%llu instead of %u@%llu (%dms) for %s", streamName.c_str(), thisPacket.getTrackId(), thisPacket.getTime(), nxt.tid, nxt.time, (int)((long long)thisPacket.getTime() - (long long)nxt.time), streamName.c_str()); + WARN_MSG("Loaded %s track %ld@%llu in stead of %u@%llu (%dms, %s)", streamName.c_str(), thisPacket.getTrackId(), thisPacket.getTime(), nxt.tid, nxt.time, (int)((long long)thisPacket.getTime() - (long long)nxt.time), myMeta.tracks[nxt.tid].codec.c_str()); if (++warned == 5){ WARN_MSG("Further warnings about time mismatches printed on HIGH level."); } }else{ - HIGH_MSG("Loaded %s track %ld@%llu instead of %u@%llu (%dms) for %s", streamName.c_str(), thisPacket.getTrackId(), thisPacket.getTime(), nxt.tid, nxt.time, (int)((long long)thisPacket.getTime() - (long long)nxt.time), streamName.c_str()); + HIGH_MSG("Loaded %s track %ld@%llu in stead of %u@%llu (%dms, %s)", streamName.c_str(), thisPacket.getTrackId(), thisPacket.getTime(), nxt.tid, nxt.time, (int)((long long)thisPacket.getTime() - (long long)nxt.time), myMeta.tracks[nxt.tid].codec.c_str()); } }