After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 554879 - Add ability to specify format for date/time display in GstClockOverlay
Add ability to specify format for date/time display in GstClockOverlay
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal enhancement
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-03 15:44 UTC by Pavel Zeldin
Modified: 2008-10-08 10:48 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
adds "time-format" property which is passed to strftime() for formatting. (4.27 KB, patch)
2008-10-03 17:21 UTC, Pavel Zeldin
committed Details | Review

Description Pavel Zeldin 2008-10-03 15:44:49 UTC
Currently GstClockOverlay displays only current time. Need to be able to display data as well, and customize format.
Comment 1 Pavel Zeldin 2008-10-03 17:21:32 UTC
Created attachment 119874 [details] [review]
adds "time-format" property which is passed to strftime() for formatting.
Comment 2 Sebastian Dröge (slomo) 2008-10-08 10:48:58 UTC
2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

	Patch by: Pavel Zeldin <pzeldin at gmail dot com>

	* ext/pango/gstclockoverlay.c: (gst_clock_overlay_render_time),
	(gst_clock_overlay_class_init), (gst_clock_overlay_finalize),
	(gst_clock_overlay_init), (gst_clock_overlay_set_property),
	(gst_clock_overlay_get_property):
	* ext/pango/gstclockoverlay.h:
	API: Add ability to specify format for date/time display by
	adding a "time-format" property.
	Fixes bug #554879.