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

demux: dash: fix startnumber on template node inheritance (#25082)

(cherry picked from commit eb1e8a60)
parent 9e6746aa
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,9 @@ size_t MediaSegmentTemplate::pruneBySequenceNumber(uint64_t number)
uint64_t MediaSegmentTemplate::inheritStartNumber() const
{
if( startNumber != std::numeric_limits<uint64_t>::max() )
return startNumber;
const SegmentInformation *ulevel = parentSegmentInformation ? parentSegmentInformation
: NULL;
for( ; ulevel ; ulevel = ulevel->parent )
......
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