projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23bbbd6
)
flvmux: fix writing of creation time
upstream/1.6
author
Tim-Philipp Müller
<tim@centricular.com>
Wed, 21 Oct 2015 10:16:01 +0000
(11:16 +0100)
committer
Jan Schmidt
<jan@centricular.com>
Sun, 1 Nov 2015 12:12:36 +0000
(23:12 +1100)
Don't write time as e.g. 11:9:42
gst/flv/gstflvmux.c
patch
|
blob
|
history
diff --git
a/gst/flv/gstflvmux.c
b/gst/flv/gstflvmux.c
index
3465249
..
b7c0b51
100644
(file)
--- a/
gst/flv/gstflvmux.c
+++ b/
gst/flv/gstflvmux.c
@@
-977,7
+977,7
@@
tags:
secs = tv.tv_sec;
tm = gmtime (&secs);
- s = g_strdup_printf ("%s %s %d %
d:%d:%
d %d", weekdays[tm->tm_wday],
+ s = g_strdup_printf ("%s %s %d %
02d:%02d:%02
d %d", weekdays[tm->tm_wday],
months[tm->tm_mon], tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
tm->tm_year + 1900);