Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
2269af7b
Commit
2269af7b
authored
Feb 20, 2012
by
Christopher Mueller
Committed by
Hugo Beauzée-Luyssen
Feb 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: simplified chunk initialization
Signed-off-by:
Hugo Beauzée-Luyssen
<
beauze.h@gmail.com
>
parent
8adb8fa8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
..._filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
+0
-1
modules/stream_filter/dash/mpd/Segment.cpp
modules/stream_filter/dash/mpd/Segment.cpp
+2
-0
No files found.
modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
View file @
2269af7b
...
...
@@ -73,7 +73,6 @@ 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
++
;
...
...
modules/stream_filter/dash/mpd/Segment.cpp
View file @
2269af7b
...
...
@@ -114,6 +114,8 @@ dash::http::Chunk* Segment::toChunk ()
chunk
->
setUrl
(
this
->
sourceUrl
);
}
chunk
->
setBitrate
(
this
->
parentRepresentation
->
getBandwidth
());
return
chunk
;
}
...
...
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