hlsdemux: Properly assign offsets to the files if we accumulate them instead of reading from the playlist

This commit is contained in:
Sebastian Dröge 2014-09-04 17:49:23 +03:00
parent 3024ae9c38
commit 46b0310acd

View file

@ -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;