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

dash: set chunk bitrate

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