summaryrefslogtreecommitdiff
path: root/ext/hls/m3u8.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-11-28 00:12:04 +0000
committerTim-Philipp Müller <tim@centricular.com>2015-12-01 17:51:34 +0000
commit0ed4620033c329aa4fd3dfe5a30421440320cb97 (patch)
tree019630c66a55c91ceb5cd8fd32e0c89d91e31a50 /ext/hls/m3u8.c
parente68914eeecee438938c816f4f7207b07809a5c14 (diff)
downloadgstreamer-plugins-bad-0ed4620033c329aa4fd3dfe5a30421440320cb97.tar.gz
hls: m3u8: remove unused _get_current_fragment_duration() function
Diffstat (limited to 'ext/hls/m3u8.c')
-rw-r--r--ext/hls/m3u8.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/ext/hls/m3u8.c b/ext/hls/m3u8.c
index 0717fea3b..4d203d4a5 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)