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
9604e6dd
Commit
9604e6dd
authored
Jan 30, 2016
by
Sebastian Ramacher
Committed by
Jean-Baptiste Kempf
Jan 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling of "bandwidth"
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
156b0ec6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/demux/adaptative/adaptative.cpp
modules/demux/adaptative/adaptative.cpp
+1
-1
modules/demux/adaptative/logic/RateBasedAdaptationLogic.cpp
modules/demux/adaptative/logic/RateBasedAdaptationLogic.cpp
+1
-1
No files found.
modules/demux/adaptative/adaptative.cpp
View file @
9604e6dd
...
@@ -80,7 +80,7 @@ static const int pi_logics[] = {AbstractAdaptationLogic::RateBased,
...
@@ -80,7 +80,7 @@ static const int pi_logics[] = {AbstractAdaptationLogic::RateBased,
static
const
char
*
const
ppsz_logics
[]
=
{
N_
(
"Bandwidth Adaptive"
),
static
const
char
*
const
ppsz_logics
[]
=
{
N_
(
"Bandwidth Adaptive"
),
N_
(
"Fixed Bandwidth"
),
N_
(
"Fixed Bandwidth"
),
N_
(
"Lowest Bandwidth/Quality"
),
N_
(
"Lowest Bandwidth/Quality"
),
N_
(
"Highest Bandwith/Quality"
)};
N_
(
"Highest Bandwi
d
th/Quality"
)};
vlc_module_begin
()
vlc_module_begin
()
set_shortname
(
N_
(
"Adaptative"
))
set_shortname
(
N_
(
"Adaptative"
))
...
...
modules/demux/adaptative/logic/RateBasedAdaptationLogic.cpp
View file @
9604e6dd
...
@@ -124,7 +124,7 @@ void RateBasedAdaptationLogic::updateDownloadRate(size_t size, mtime_t time)
...
@@ -124,7 +124,7 @@ void RateBasedAdaptationLogic::updateDownloadRate(size_t size, mtime_t time)
/* Vertical Horizontal Filter / Moving Average
/* Vertical Horizontal Filter / Moving Average
*
*
* Bandwith stability during observation window alters the alpha parameter
* Bandwi
d
th stability during observation window alters the alpha parameter
* and then defines how fast we adapt to current bandwidth */
* and then defines how fast we adapt to current bandwidth */
const
size_t
deltamax
=
omax
-
omin
;
const
size_t
deltamax
=
omax
-
omin
;
double
alpha
=
(
diffsum
)
?
0.33
*
((
double
)
deltamax
/
diffsum
)
:
0.5
;
double
alpha
=
(
diffsum
)
?
0.33
*
((
double
)
deltamax
/
diffsum
)
:
0.5
;
...
...
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