From 5413fd5f20f00bc1c4673826c42fe2ba9dbe8786 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 21 Oct 2015 11:16:01 +0100 Subject: [PATCH] flvmux: fix writing of creation time Don't write time as e.g. 11:9:42 --- gst/flv/gstflvmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c index 3465249..b7c0b51 100644 --- 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:%02d %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); -- 2.7.4