hlsdemux: Properly assign offsets to the files if we accumulate them instead of reading from the playlist
This commit is contained in:
parent
3024ae9c38
commit
46b0310acd
@ -494,6 +494,7 @@ gst_m3u8_update (GstM3U8 * self, gchar * data, gboolean * updated)
|
|||||||
} else {
|
} else {
|
||||||
offset = prev->offset + prev->size;
|
offset = prev->offset + prev->size;
|
||||||
}
|
}
|
||||||
|
file->offset = offset;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
file->size = -1;
|
file->size = -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user