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 783457 - playback example: Prettify time reporting for big values
playback example: Prettify time reporting for big values
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other All
: Normal normal
: 1.14.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-06-06 05:48 UTC by Edward Hervey
Modified: 2018-05-04 12:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
playback example: Prettify time reporting for big values (2.15 KB, patch)
2017-06-06 05:48 UTC, Edward Hervey
committed Details | Review

Description Edward Hervey 2017-06-06 05:48:09 UTC
See patch
Comment 1 Edward Hervey 2017-06-06 05:48:15 UTC
Created attachment 353238 [details] [review]
playback example: Prettify time reporting for big values

When dealing with streams/contents which have large duration, it is
more user-friendly to show more details in the high values (hours or days)
than in the microseconds.

This patch will use the following formatting schemes:
* Below 1hour   : MM:SS.SSS
* Below 24hours : HHhMMmSSs
* Above         : DDdHHhMMm
Comment 2 Edward Hervey 2018-05-04 12:45:08 UTC
And another one that already was applied :)