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"