[vlc-devel] [PATCH] Fix small typos

Omar Ahmed omarpiratee2010 at gmail.com
Fri May 22 14:06:02 CEST 2020


---
 doc/libvlc/QtGL/main.cpp             | 2 +-
 doc/libvlc/QtPlayer/player.cpp       | 6 +++---
 doc/libvlc/d3d9_player.c             | 2 +-
 doc/subtitles/svcd-ogt-subtitles.txt | 2 +-
 doc/transforms.py                    | 6 +++---
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/doc/libvlc/QtGL/main.cpp b/doc/libvlc/QtGL/main.cpp
index 1e86fe8..67a3164 100644
--- a/doc/libvlc/QtGL/main.cpp
+++ b/doc/libvlc/QtGL/main.cpp
@@ -13,7 +13,7 @@ int main(int argc, char *argv[])
 {
     QApplication app(argc, argv);
 
-    // this important so we can call makeCurrent from our rendering thread
+    // this is important so we can call makeCurrent from our rendering thread
     QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity);
 
     QSurfaceFormat fmt;
diff --git a/doc/libvlc/QtPlayer/player.cpp b/doc/libvlc/QtPlayer/player.cpp
index 3e68f06..a93551f 100644
--- a/doc/libvlc/QtPlayer/player.cpp
+++ b/doc/libvlc/QtPlayer/player.cpp
@@ -195,7 +195,7 @@ void Mwindow::updateInterface() { //Update interface and check if song is finish
     if (!vlcPlayer)
         return;
 
-    /* update the timeline */
+    /* Update the timeline */
     float pos = libvlc_media_player_get_position(vlcPlayer);
     slider->setValue((int)(pos*1000.0));
 
@@ -206,10 +206,10 @@ void Mwindow::updateInterface() { //Update interface and check if song is finish
 
 void Mwindow::stop() {
     if(vlcPlayer) {
-        /* stop the media player */
+        /* Stop the media player */
         libvlc_media_player_stop_async(vlcPlayer);
 
-        /* release the media player */
+        /* Release the media player */
         libvlc_media_player_release(vlcPlayer);
 
         /* Reset application values */
diff --git a/doc/libvlc/d3d9_player.c b/doc/libvlc/d3d9_player.c
index e22214f..7f39029 100644
--- a/doc/libvlc/d3d9_player.c
+++ b/doc/libvlc/d3d9_player.c
@@ -265,7 +265,7 @@ static bool StartRendering_cb( void *opaque, bool enter )
         return true;
     }
 
-    /* VLC has finished preparing drawning on our surface, we need do the drawing now
+    /* VLC has finished preparing drawing on our surface, we need do the drawing now
        so the surface is finished rendering when Swap() is called to do our own
        rendering */
     IDirect3DDevice9_Present(ctx->libvlc_d3d, NULL, NULL, NULL, NULL);
diff --git a/doc/subtitles/svcd-ogt-subtitles.txt b/doc/subtitles/svcd-ogt-subtitles.txt
index a08385e..2db1ae6 100644
--- a/doc/subtitles/svcd-ogt-subtitles.txt
+++ b/doc/subtitles/svcd-ogt-subtitles.txt
@@ -86,7 +86,7 @@ specifies where the first odd-line image data starts.
 IMAGE DATA
 
 Then subtitle image data follows the above control information. Image
-lines are interlaced. That is line 0 is comes first, then line 2, then
+lines are interlaced. That is line 0 comes first, then line 2, then
 line 4. After all of the even lines, comes line 1, then line 3,
 etc.. The subtitle aspect ratio is not to be scaled. It is independent
 of the aspect ratio of the underlying image which it is to be
diff --git a/doc/transforms.py b/doc/transforms.py
index 1bcaaf1..a685a9c 100644
--- a/doc/transforms.py
+++ b/doc/transforms.py
@@ -18,7 +18,7 @@ def vector (N):
     return [0j] * N
 
 
-# Let us start withthe canonical definition of the unscaled DFT algorithm :
+# Let us start with the canonical definition of the unscaled DFT algorithm :
 # (I can not draw sigmas in a text file so I'll use python code instead)  :)
 
 def W (k, N):
@@ -165,7 +165,7 @@ def unscaled_DFT_radix4_time (N, input, output):
 # multiplies... we will skip 3 for i=0 and 1 for i=N/8. Also for i=N/8
 # the remaining W(i,N) and W(3*i,N) multiplies can be implemented using only
 # 2 real additions and 2 real multiplies. For i=N/16 and i=3*N/16 we can also
-# optimise the W(2*i/N) multiply this way.
+# optimize the W(2*i/N) multiply this way.
 
 # If we wanted to do the same decomposition with one radix-2 decomposition
 # of size N and 2 radix-2 decompositions of size N/2, the total cost would be
@@ -278,7 +278,7 @@ def unscaled_DFT_radix4_freq (N, input, output):
 # We didn't do anything here, only reorder the operations. But now, look at the
 # first part of this function, up to the calculations of tmp0 and tmp1 : this
 # is extremely similar to the radix-2 decimation-in-time algorithm ! or more
-# precisely, it IS the radix-2 decimation-in-time algorithm, with size N/2,
+# precisely, it is the radix-2 decimation-in-time algorithm, with size N/2,
 # applied on a vector representing the even input coefficients, and giving
 # an output vector that is the concatenation of tmp0 and tmp1.
 # This is important to notice, because this means we can now choose to
-- 
2.7.4



More information about the vlc-devel mailing list