[vlc-devel] [PATCH 6/7] Fix spelling of 'controller'
Thomas Guillem
thomas at gllm.fr
Tue Sep 26 10:02:24 CEST 2017
On Tue, Sep 26, 2017, at 01:51, Sebastian Ramacher wrote:
> Signed-off-by: Sebastian Ramacher <sramacher at debian.org>
> ---
> modules/demux/playlist/qtl.c | 10 +++++-----
> modules/stream_out/chromecast/cast.cpp | 2 +-
> 2 files changed, 6 insertions(+), 6 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" ) )
Oh, this is actually fixing a bug in QTL
> + 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 );
> diff --git a/modules/stream_out/chromecast/cast.cpp
> b/modules/stream_out/chromecast/cast.cpp
> index b4b1fd9a84..d184426a27 100644
> --- a/modules/stream_out/chromecast/cast.cpp
> +++ b/modules/stream_out/chromecast/cast.cpp
> @@ -447,7 +447,7 @@ static int Open(vlc_object_t *p_this)
> }
> catch (const std::runtime_error& err )
> {
> - msg_Err( p_this, "cannot load the Chromecast controler (%s)",
> err.what() );
> + msg_Err( p_this, "cannot load the Chromecast controller (%s)",
> err.what() );
> goto error;
> }
> catch (const std::bad_alloc& )
> --
> 2.14.1
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list