Readable GST time is at 1/10th second precision

This commit is contained in:
Bruno Herbelin
2021-11-21 16:52:09 +01:00
parent aa4b2967c7
commit 1506d36407

View File

@@ -60,7 +60,7 @@ string GstToolkit::time_to_string(guint64 t, time_string_mode m)
count++;
}
if (count < 2 )
oss << '.'<< setw(2) << setfill('0') << (ms % 1000) / 10;
oss << '.'<< setw(1) << setfill('0') << (ms % 1000) / 100;
oss << " sec";
}
// MINIMAL: keep only the 2 higher values (most significant)