mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-08 08:50:00 +01:00
Readable GST time is at 1/10th second precision
This commit is contained in:
@@ -60,7 +60,7 @@ string GstToolkit::time_to_string(guint64 t, time_string_mode m)
|
|||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
if (count < 2 )
|
if (count < 2 )
|
||||||
oss << '.'<< setw(2) << setfill('0') << (ms % 1000) / 10;
|
oss << '.'<< setw(1) << setfill('0') << (ms % 1000) / 100;
|
||||||
oss << " sec";
|
oss << " sec";
|
||||||
}
|
}
|
||||||
// MINIMAL: keep only the 2 higher values (most significant)
|
// MINIMAL: keep only the 2 higher values (most significant)
|
||||||
|
|||||||
Reference in New Issue
Block a user