[vlc-commits] qtl: Fix spelling of 'controller'

Sebastian Ramacher git at videolan.org
Wed Sep 27 09:02:21 CEST 2017


vlc | branch: master | Sebastian Ramacher <sramacher at debian.org> | Tue Sep 26 23:19:54 2017 +0200| [0e6f632339661a04929bb43b868aa3b86c4075d1] | committer: Thomas Guillem

qtl: Fix spelling of 'controller'

Fixes parsing of the controller attribute.

Signed-off-by: Sebastian Ramacher <sramacher at debian.org>
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 modules/demux/playlist/qtl.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/demux/playlist/qtl.c b/modules/demux/playlist/qtl.c
index 1c5004f43b..d24e8b9ea5 100644
--- a/modules/demux/playlist/qtl.c
+++ b/modules/demux/playlist/qtl.c
@@ -103,7 +103,7 @@ static int ReadDir( stream_t *p_demux, input_item_node_t *p_subitems )
 
     /* List of all possible attributes. The only required one is "src" */
     bool b_autoplay = false;
-    bool b_controler = true;
+    bool b_controller = true;
     qtl_fullscreen_t fullscreen = false;
     char *psz_href = NULL;
     bool b_kioskmode = false;
@@ -143,8 +143,8 @@ static int ReadDir( stream_t *p_demux, input_item_node_t *p_subitems )
     {
         if( !strcmp( attrname, "autoplay" ) )
             b_autoplay = !strcmp( value, "true" );
-        else if( !strcmp( attrname, "controler" ) )
-            b_controler = !strcmp( attrname, "false" );
+        else if( !strcmp( attrname, "controller" ) )
+            b_controller = !strcmp( attrname, "false" );
         else if( !strcmp( attrname, "fullscreen" ) )
         {
             if( !strcmp( value, "double" ) )
@@ -209,8 +209,8 @@ static int ReadDir( stream_t *p_demux, input_item_node_t *p_subitems )
 
     msg_Dbg( p_demux, "autoplay: %s (unused by VLC)",
              b_autoplay ? "true": "false" );
-    msg_Dbg( p_demux, "controler: %s (unused by VLC)",
-             b_controler ? "true": "false" );
+    msg_Dbg( p_demux, "controller: %s (unused by VLC)",
+             b_controller ? "true": "false" );
     msg_Dbg( p_demux, "fullscreen: %s (unused by VLC)",
              ppsz_fullscreen[fullscreen] );
     msg_Dbg( p_demux, "href: %s", psz_href );



More information about the vlc-commits mailing list