[vlc-devel] [PATCH 25/27] dash: set chunk bitrate
Christopher Mueller
christopher.mueller at itec.aau.at
Fri Feb 3 11:57:43 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 8f6f984..c08bf06 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