Commit eb1e8a60 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

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

parent 15f5497b
......@@ -95,6 +95,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 )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment