[Bug 793683] gstclockoverlay: Add ability to specify time to be displayed by GstClockOverlay

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 23 01:03:09 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793683

--- Comment #3 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
clockoverlay is meant to be the "wall clock", what you see on your watch.
Jitter on the processing will affect the value. Note that the formating is same
as strftime(), so no fraction of a second.

timeoverlay is meant to print information that travels with the buffer. The
speed of processing should have no effect on the numbers. Many of the
strftime() formatter makes no sense.

If I understand well, what you would like is the ability to format the output
of timeoverlay. While your patch changes the intent of the plugin itself. Using
strftime() to format this is a bad fit. Right now it simply uses the fixed
debug formatter found in GStreamer:

  "%" GST_TIME_FORMAT, GST_TIME_ARGS (time)

But writing a similar formatter, but that supports day, hours, minutes,
seconds, fraction (currently millisecond) and enabled it as property to
timeoverlay would in my opinion make a lot more sense.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list