From 72f2d06ab3b06c8b1563493e39ba08ec546a5319 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sat, 14 Dec 2019 23:13:37 +1100 Subject: [PATCH] fixed timecodes showing negative numbers between tokens --- app/common/timecodefunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/timecodefunctions.cpp b/app/common/timecodefunctions.cpp index f50b47a12..467a9412d 100644 --- a/app/common/timecodefunctions.cpp +++ b/app/common/timecodefunctions.cpp @@ -73,7 +73,7 @@ QString olive::timestamp_to_timecode(const int64_t ×tamp, double frame_rate = timebase.flipped().toDouble(); int rounded_frame_rate = qRound(frame_rate); int64_t frames, secs, mins, hours; - int64_t f = timestamp; + int64_t f = qAbs(timestamp); if (display == kTimecodeDropFrame && timebase.numerator() == 1001) { frame_token = ";";