Bugfix display STRING time

This commit is contained in:
Bruno
2021-06-18 00:21:36 +02:00
parent e2d416b3fb
commit 08f8ee159a

View File

@@ -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"