mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
hlsdemux: m3u8: return duration in nanoseconds
This commit is contained in:
parent
9454003249
commit
9334e819e5
1 changed files with 1 additions and 1 deletions
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue