Commit 602602b4 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: segmentBase can have subsegments after index reading

parent 295d44df
...@@ -103,7 +103,8 @@ vector<ISegment *> SegmentInformation::getSegments(SegmentInfoType type) const ...@@ -103,7 +103,8 @@ vector<ISegment *> SegmentInformation::getSegments(SegmentInfoType type) const
} }
else if( segmentBase ) else if( segmentBase )
{ {
retSegments.push_back( segmentBase ); std::vector<ISegment *> list = segmentBase->subSegments();
retSegments.insert( retSegments.end(), list.begin(), list.end() );
} }
} }
break; break;
......
Markdown is supported
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