Skip to content
Snippets Groups Projects
Commit c508a4a3 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

demux: adaptive: pass sequence to chunks

(cherry picked from commit 94e9250b)
parent 8203c745
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!1123[3.0.x] backport/upgrade adaptive code
......@@ -88,6 +88,7 @@ SegmentChunk* ISegment::toChunk(SharedResources *res, AbstractConnectionManager
SegmentChunk *chunk = createChunk(source, rep);
if(chunk)
{
chunk->sequence = index;
chunk->discontinuity = discontinuity;
if(!prepareChunk(res, chunk, rep))
{
......
......@@ -46,6 +46,7 @@ namespace adaptive
void setEncryptionSession(CommonEncryptionSession *);
StreamFormat getStreamFormat() const;
bool discontinuity;
uint64_t sequence;
protected:
bool decrypt(block_t **);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment