From 9334e819e5f2cf1e7cce418cacb472a08e085de9 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Wed, 13 Apr 2011 22:48:28 +0200 Subject: [PATCH] hlsdemux: m3u8: return duration in nanoseconds --- gst/hls/m3u8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/hls/m3u8.c b/gst/hls/m3u8.c index 5bdbda1fb0..58eb15f411 100644 --- a/gst/hls/m3u8.c +++ b/gst/hls/m3u8.c @@ -475,7 +475,7 @@ gst_m3u8_client_get_duration (GstM3U8Client * client) return GST_CLOCK_TIME_NONE; g_list_foreach (client->current->files, (GFunc) _sum_duration, &duration); - return duration; + return duration * GST_SECOND; } const gchar *