diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-09-04 17:49:23 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-09-04 17:49:23 +0300 |
commit | 46b0310acd5ee5292d559b7931ad623965baba73 (patch) | |
tree | 3f897dec3958fe79633641e512a7a04998d83c8f /ext/hls | |
parent | 3024ae9c38490817a76c83feab3c8472989cafad (diff) | |
download | gstreamer-plugins-bad-46b0310acd5ee5292d559b7931ad623965baba73.tar.gz |
hlsdemux: Properly assign offsets to the files if we accumulate them instead of reading from the playlist
Diffstat (limited to 'ext/hls')
-rw-r--r-- | ext/hls/m3u8.c | 1 |
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; |