hls: m3u8: remove unused _get_current_fragment_duration() function

This commit is contained in:
Tim-Philipp Müller 2015-11-28 00:12:04 +00:00
parent e68914eeec
commit 0ed4620033
2 changed files with 0 additions and 25 deletions

View file

@ -1353,29 +1353,6 @@ out:
return ret; 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 gboolean
gst_m3u8_client_get_seek_range (GstM3U8Client * client, gint64 * start, gst_m3u8_client_get_seek_range (GstM3U8Client * client, gint64 * start,
gint64 * stop) gint64 * stop)

View file

@ -149,8 +149,6 @@ gboolean gst_m3u8_client_is_live (GstM3U8Client * client);
GList * gst_m3u8_client_get_playlist_for_bitrate (GstM3U8Client * client, GList * gst_m3u8_client_get_playlist_for_bitrate (GstM3U8Client * client,
guint bitrate); guint bitrate);
guint64 gst_m3u8_client_get_current_fragment_duration (GstM3U8Client * client);
gboolean gst_m3u8_client_get_seek_range (GstM3U8Client * client, gboolean gst_m3u8_client_get_seek_range (GstM3U8Client * client,
gint64 * start, gint64 * start,
gint64 * stop); gint64 * stop);