[vlc-devel] [PATCH 2/2] cli: also mark --cli-host as deprecated

Pierre Ynard linkfanel at yahoo.fr
Sat Nov 21 12:00:00 CET 2020


> (This was from the removed Lua RC interface.)
> ---
>  modules/control/cli/cli.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/modules/control/cli/cli.c b/modules/control/cli/cli.c
> index 1cd3f846cf..91dce3d311 100644
> --- a/modules/control/cli/cli.c
> +++ b/modules/control/cli/cli.c
> @@ -793,6 +793,7 @@ vlc_module_begin()
>  #endif
>  #endif
>      add_obsolete_string("rc-host") /* since 4.0 */
> +    add_obsolete_string("cli-host") /* since 4.0 */
>  
>      set_capability("interface", 20)
>  

It does fix the limbo state that this option had fallen into, but as
I explained in #25204, I believe it would be better to keep the TCP
mode feature and have the CLI keep honoring --cli-host in addition to
--rc-host.

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."


More information about the vlc-devel mailing list