diff --git a/ext/hls/m3u8.c b/ext/hls/m3u8.c index 0717fea3bc..4d203d4a5e 100644 --- a/ext/hls/m3u8.c +++ b/ext/hls/m3u8.c @@ -1353,29 +1353,6 @@ out: return ret; } -guint64 -gst_m3u8_client_get_current_fragment_duration (GstM3U8Client * client) -{ - guint64 dur = GST_CLOCK_TIME_NONE; - GList *l; - - g_return_val_if_fail (client != NULL, 0); - - GST_M3U8_CLIENT_LOCK (client); - - for (l = client->current->files; l != NULL; l = l->next) { - GstM3U8MediaFile *file = l->data; - - if (file->sequence == client->sequence) { - dur = file->duration; - break; - } - } - - GST_M3U8_CLIENT_UNLOCK (client); - return dur; -} - gboolean gst_m3u8_client_get_seek_range (GstM3U8Client * client, gint64 * start, gint64 * stop) diff --git a/ext/hls/m3u8.h b/ext/hls/m3u8.h index 95f9310adc..fa28810fa4 100644 --- a/ext/hls/m3u8.h +++ b/ext/hls/m3u8.h @@ -149,8 +149,6 @@ gboolean gst_m3u8_client_is_live (GstM3U8Client * client); GList * gst_m3u8_client_get_playlist_for_bitrate (GstM3U8Client * client, guint bitrate); -guint64 gst_m3u8_client_get_current_fragment_duration (GstM3U8Client * client); - gboolean gst_m3u8_client_get_seek_range (GstM3U8Client * client, gint64 * start, gint64 * stop);