Commit f56638f3 authored by Christopher Mueller's avatar Christopher Mueller Committed by Hugo Beauzée-Luyssen

dash: simplified adaptationlogic

Signed-off-by: default avatarHugo Beauzée-Luyssen <beauze.h@gmail.com>
parent 4bb0bc00
......@@ -68,8 +68,7 @@ Chunk* RateBasedAdaptationLogic::getNextChunk() throw(EOFException)
if ( segments.size() > this->count )
{
Segment *seg = segments.at( this->count );
Chunk *chunk = new Chunk;
chunk->setUrl( seg->getSourceUrl() );
Chunk *chunk = seg->toChunk();
//In case of UrlTemplate, we must stay on the same segment.
if ( seg->isSingleShot() == true )
this->count++;
......
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