Commit 1d74b515 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: set split time to child, not parent

parent 602602b4
......@@ -281,8 +281,8 @@ static void insertIntoSegment(std::vector<ISegment *> &seglist, size_t start,
SubSegment *subsegment = new SubSegment(segment,
start + segment->getOffset(),
(end != 0) ? end + segment->getOffset() : 0);
subsegment->startTime.Set(time);
segment->addSubSegment(subsegment);
segment->startTime.Set(time);
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