Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
2ef51274
Commit
2ef51274
authored
Feb 11, 2012
by
Christopher Mueller
Committed by
Hugo Beauzée-Luyssen
Feb 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: set chunk bitrate
Signed-off-by:
Hugo Beauzée-Luyssen
<
beauze.h@gmail.com
>
parent
0e2b401c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
..._filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
+1
-0
No files found.
modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
View file @
2ef51274
...
@@ -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
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment