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
7a14bb56
Commit
7a14bb56
authored
Jan 26, 2012
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: bandwidth is in bits per second
parent
6b984f72
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/stream_filter/dash/dash.cpp
modules/stream_filter/dash/dash.cpp
+1
-1
modules/stream_filter/dash/mpd/Representation.h
modules/stream_filter/dash/mpd/Representation.h
+2
-2
No files found.
modules/stream_filter/dash/dash.cpp
View file @
7a14bb56
...
...
@@ -209,7 +209,7 @@ static int Control (stream_t *p_stream, int i_query, va_list args)
if
(
rep
==
NULL
)
*
res
=
0
;
else
*
res
=
p_sys
->
p_mpd
->
getDuration
()
*
rep
->
getBandwidth
();
*
res
=
p_sys
->
p_mpd
->
getDuration
()
*
rep
->
getBandwidth
()
/
8
;
}
break
;
}
...
...
modules/stream_filter/dash/mpd/Representation.h
View file @
7a14bb56
...
...
@@ -49,9 +49,9 @@ namespace dash
void
setId
(
const
std
::
string
&
id
);
/*
* @return The bitrate required for this representation
* in
Byte
s per seconds.
* in
bit
s per seconds.
* Will be a valid value, as the parser refuses Representation
* without bandwith.
* without bandwi
d
th.
*/
int
getBandwidth
()
const
;
void
setBandwidth
(
int
bandwidth
);
...
...
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