[vlc-commits] Fix spelling of "bandwidth"

Sebastian Ramacher git at videolan.org
Sat Jan 30 18:44:46 CET 2016


vlc | branch: master | Sebastian Ramacher <sramacher at debian.org> | Sat Jan 30 11:54:26 2016 +0100| [9604e6dd19d35332e0e3f002800d54e5cf4ba7ab] | committer: Jean-Baptiste Kempf

Fix spelling of "bandwidth"

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9604e6dd19d35332e0e3f002800d54e5cf4ba7ab
---

 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;



More information about the vlc-commits mailing list