mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
playback/player: gtk-play: fix elapsed and remain time label
If elapsed or remain time is greater than 60 mins then add hours in label text.
This commit is contained in:
parent
a8bb7e0199
commit
a18cefb73c
1 changed files with 1 additions and 1 deletions
|
@ -1526,7 +1526,7 @@ update_position_label (GtkLabel * label, guint64 seconds)
|
|||
seconds -= mins * 60;
|
||||
|
||||
if (hrs)
|
||||
data = g_strdup_printf ("%02d:%02d", hrs, mins);
|
||||
data = g_strdup_printf ("%d:%02d:%02ld", hrs, mins, seconds);
|
||||
else
|
||||
data = g_strdup_printf ("%02d:%02ld", mins, seconds);
|
||||
|
||||
|
|
Loading…
Reference in a new issue