Skip to content

gstreamer/clock_time: Improve Display formatting

  • Add support for precision, padding and alignment.
  • Format the invalid time using dashes (--:--:--.---------) instead of a technically valid 99:99:99.999999999

The latter is something C's GST_TIME_FORMAT can't do, though something obviously invalid like -1:-1:-1.000000000 would be possible.

Edited by Jan Alexander Steffens

Merge request reports