[vlc-devel] [PATCH 07/10] input: fix spelling mistakes

Eric Engestrom eric at engestrom.ch
Sat Apr 2 16:50:37 CEST 2016


Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
 src/input/decoder.h          | 2 +-
 src/input/decoder_synchro.c  | 2 +-
 src/input/es_out_timeshift.c | 4 ++--
 src/input/item.c             | 4 ++--
 src/input/stream.c           | 2 +-
 src/input/subtitles.c        | 2 +-
 src/input/var.c              | 2 +-
 src/input/vlmshell.c         | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/input/decoder.h b/src/input/decoder.h
index f773eb7..226ecde 100644
--- a/src/input/decoder.h
+++ b/src/input/decoder.h
@@ -33,7 +33,7 @@ decoder_t *input_DecoderNew( input_thread_t *, es_format_t *, input_clock_t *,
 
 /**
  * This function changes the pause state.
- * The date parameter MUST hold the exact date at wich the change has been
+ * The date parameter MUST hold the exact date at which the change has been
  * done for proper vout/aout pausing.
  */
 void input_DecoderChangePause( decoder_t *, bool b_paused, mtime_t i_date );
diff --git a/src/input/decoder_synchro.c b/src/input/decoder_synchro.c
index f396661..00b3e0f 100644
--- a/src/input/decoder_synchro.c
+++ b/src/input/decoder_synchro.c
@@ -30,7 +30,7 @@
  * This implementation is based on mathematical and statistical
  * developments. Older implementations used an enslavement, considering
  * that if we're late when reading an I picture, we will decode one frame
- * less. It had a tendancy to derive, and wasn't responsive enough, which
+ * less. It had a tendency to derive, and wasn't responsive enough, which
  * would have caused trouble with the stream control stuff.
  *
  * 1. Structure of a picture stream
diff --git a/src/input/es_out_timeshift.c b/src/input/es_out_timeshift.c
index befc1b7..a93e252 100644
--- a/src/input/es_out_timeshift.c
+++ b/src/input/es_out_timeshift.c
@@ -544,7 +544,7 @@ static int ControlLockedSetPauseState( es_out_t *p_out, bool b_source_paused, bo
         }
         else
         {
-            /* XXX we may do it BUT it would be better to finish the clock clean up+improvments
+            /* XXX we may do it BUT it would be better to finish the clock clean up+improvements
              * and so be able to advertize correctly pace control property in access
              * module */
             msg_Err( p_sys->p_input, "EsOutTimeshift does not work with streams that have pace control" );
@@ -579,7 +579,7 @@ static int ControlLockedSetRate( es_out_t *p_out, int i_src_rate, int i_rate )
         }
         else
         {
-            /* XXX we may do it BUT it would be better to finish the clock clean up+improvments
+            /* XXX we may do it BUT it would be better to finish the clock clean up+improvements
              * and so be able to advertize correctly pace control property in access
              * module */
             msg_Err( p_sys->p_input, "EsOutTimeshift does not work with streams that have pace control" );
diff --git a/src/input/item.c b/src/input/item.c
index b27beee..a0f1e9a 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -192,7 +192,7 @@ static void post_subitems( input_item_node_t *p_node )
 
 /* This won't hold the item, but can tell to interested third parties
  * Like the playlist, that there is a new sub item. With this design
- * It is not the input item's responsability to keep all the ref of
+ * It is not the input item's responsibility to keep all the ref of
  * the input item children. */
 void input_item_PostSubItem( input_item_t *p_parent, input_item_t *p_child )
 {
@@ -1055,7 +1055,7 @@ static int GuessType( const input_item_t *p_item, bool *p_net )
         { "qtcapt", ITEM_TYPE_CARD, false }, /* qtcapture */
         { "raw139", ITEM_TYPE_CARD, false }, /* raw1394 */
         { "rt",     ITEM_TYPE_STREAM, true }, /* rtp, rtsp, rtmp */
-        { "satell", ITEM_TYPE_CARD, false }, /* sattelite */
+        { "satell", ITEM_TYPE_CARD, false }, /* satellite */
         { "screen", ITEM_TYPE_CARD, false },
         { "sdp",    ITEM_TYPE_STREAM, true },
         { "sftp",   ITEM_TYPE_FILE, true },
diff --git a/src/input/stream.c b/src/input/stream.c
index b84fd13..ea04873 100644
--- a/src/input/stream.c
+++ b/src/input/stream.c
@@ -137,7 +137,7 @@ stream_t *stream_UrlNew( vlc_object_t *p_parent, const char *psz_url )
 }
 
 /**
- * Read from the stream untill first newline.
+ * Read from the stream until first newline.
  * \param s Stream handle to read from
  * \return A pointer to the allocated output string. You need to free this when you are done.
  */
diff --git a/src/input/subtitles.c b/src/input/subtitles.c
index 23bf4f9..f1d5cdb 100644
--- a/src/input/subtitles.c
+++ b/src/input/subtitles.c
@@ -24,7 +24,7 @@
 
 /**
  *  \file
- *  This file contains functions to dectect subtitle files.
+ *  This file contains functions to detect subtitle files.
  */
 
 #ifdef HAVE_CONFIG_H
diff --git a/src/input/var.c b/src/input/var.c
index 025a798..0cc1217 100644
--- a/src/input/var.c
+++ b/src/input/var.c
@@ -590,7 +590,7 @@ static int PositionCallback( vlc_object_t *p_this, char const *psz_cmd,
     }
     else
     {
-        /* Update "length" for better intf behavour */
+        /* Update "length" for better intf behaviour */
         const int64_t i_length = var_GetInteger( p_input, "length" );
         if( i_length > 0 && newval.f_float >= 0.f && newval.f_float <= 1.f )
         {
diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c
index 2684cf3..804a28d 100644
--- a/src/input/vlmshell.c
+++ b/src/input/vlmshell.c
@@ -135,7 +135,7 @@ static int Unescape( char *out, const char *in )
     while( (c = *in++) != '\0' )
     {
         // Don't escape the end of the string if we find a '#'
-        // that's the begining of a vlc command
+        // that's the beginning of a vlc command
         // TODO: find a better solution
         if( ( c == '#' && !quote ) || param )
         {
-- 
2.8.0



More information about the vlc-devel mailing list