summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-09-04 17:49:23 +0300
committerSebastian Dröge <sebastian@centricular.com>2014-09-04 17:49:23 +0300
commit46b0310acd5ee5292d559b7931ad623965baba73 (patch)
tree3f897dec3958fe79633641e512a7a04998d83c8f
parent3024ae9c38490817a76c83feab3c8472989cafad (diff)
hlsdemux: Properly assign offsets to the files if we accumulate them instead of reading from the playlist
-rw-r--r--ext/hls/m3u8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/hls/m3u8.c b/ext/hls/m3u8.c
index d1b3ed47a..7fa969969 100644
--- a/ext/hls/m3u8.c
+++ b/ext/hls/m3u8.c
@@ -494,6 +494,7 @@ gst_m3u8_update (GstM3U8 * self, gchar * data, gboolean * updated)
} else {
offset = prev->offset + prev->size;
}
+ file->offset = offset;
}
} else {
file->size = -1;