Commit 9604e6dd authored by Sebastian Ramacher's avatar Sebastian Ramacher Committed by Jean-Baptiste Kempf

Fix spelling of "bandwidth"

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 156b0ec6
...@@ -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 Bandwidth/Quality")};
vlc_module_begin () vlc_module_begin ()
set_shortname( N_("Adaptative")) set_shortname( N_("Adaptative"))
......
...@@ -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 * Bandwidth 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment