[vlc-commits] dash: set chunk bitrate
Christopher Mueller
git at videolan.org
Tue Feb 14 17:30:21 CET 2012
vlc | branch: master | Christopher Mueller <christopher.mueller at itec.aau.at> | Sat Feb 11 11:59:58 2012 +0100| [2ef51274cbf24a846a9dfafb2413170b94c85132] | committer: Hugo Beauzée-Luyssen
dash: set chunk bitrate
Signed-off-by: Hugo Beauzée-Luyssen <beauze.h at gmail.com>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ef51274cbf24a846a9dfafb2413170b94c85132
---
.../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++;
More information about the vlc-commits
mailing list