[vlc-devel] [PATCH 3/9] Fix spelling of "bandwidth"

Sebastian Ramacher sramacher at debian.org
Sat Jan 30 11:54:26 CET 2016


---
 modules/demux/adaptative/adaptative.cpp                     | 2 +-
 modules/demux/adaptative/logic/RateBasedAdaptationLogic.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/adaptative/adaptative.cpp b/modules/demux/adaptative/adaptative.cpp
index be12c05..ea860b1 100644
--- a/modules/demux/adaptative/adaptative.cpp
+++ b/modules/demux/adaptative/adaptative.cpp
@@ -80,7 +80,7 @@ static const int pi_logics[] = {AbstractAdaptationLogic::RateBased,
 static const char *const ppsz_logics[] = { N_("Bandwidth Adaptive"),
                                            N_("Fixed Bandwidth"),
                                            N_("Lowest Bandwidth/Quality"),
-                                           N_("Highest Bandwith/Quality")};
+                                           N_("Highest Bandwidth/Quality")};
 
 vlc_module_begin ()
         set_shortname( N_("Adaptative"))
diff --git a/modules/demux/adaptative/logic/RateBasedAdaptationLogic.cpp b/modules/demux/adaptative/logic/RateBasedAdaptationLogic.cpp
index 6e1f0b9..a8940bd 100644
--- a/modules/demux/adaptative/logic/RateBasedAdaptationLogic.cpp
+++ b/modules/demux/adaptative/logic/RateBasedAdaptationLogic.cpp
@@ -124,7 +124,7 @@ void RateBasedAdaptationLogic::updateDownloadRate(size_t size, mtime_t time)
 
     /* 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 */
     const size_t deltamax = omax - omin;
     double alpha = (diffsum) ? 0.33 * ((double)deltamax / diffsum) : 0.5;
-- 
2.7.0



More information about the vlc-devel mailing list