From 08f8ee159a5d7612570c38e858cdd62a26704573 Mon Sep 17 00:00:00 2001 From: Bruno Date: Fri, 18 Jun 2021 00:21:36 +0200 Subject: [PATCH] Bugfix display STRING time --- GstToolkit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GstToolkit.cpp b/GstToolkit.cpp index 902fe3a..24be3ea 100644 --- a/GstToolkit.cpp +++ b/GstToolkit.cpp @@ -39,7 +39,7 @@ string GstToolkit::time_to_string(guint64 t, time_string_mode m) count++; } if (count < 2 ) - oss << '.'<< setw(1) << setfill('0') << (ms % 1000) / 10; + oss << '.'<< setw(2) << setfill('0') << (ms % 1000) / 10; } else { // TIME_STRING_FIXED : fixed length string (11 chars) HH:mm:ss.ii"