[vlc-devel] [PATCH 6/8] dash: set chunk bitrate
Christopher Mueller
christopher.mueller at itec.aau.at
Sun Feb 5 10:34:54 CET 2012
---
.../adaptationlogic/RateBasedAdaptationLogic.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp b/modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
index c331e05..e3b6b06 100644
--- a/modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
+++ b/modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
@@ -73,6 +73,7 @@ Chunk* RateBasedAdaptationLogic::getNextChunk() throw(EOFException)
{
Segment *seg = segments.at( this->count );
Chunk *chunk = seg->toChunk();
+ chunk->setBitrate(rep->getBandwidth());
//In case of UrlTemplate, we must stay on the same segment.
if ( seg->isSingleShot() == true )
this->count++;
--
1.7.0.4
More information about the vlc-devel
mailing list