[vlc-devel] [PATCH] bin: Don't force --media-library

Steve Lhomme robux4 at ycbcr.xyz
Fri Jun 12 11:05:17 CEST 2020


LGTM

On 2020-06-12 10:17, Hugo Beauzée-Luyssen wrote:
> Just use whatever the config value is, otherwise whatever the user sets
> in preference is ignored.
> ---
>   bin/darwinvlc.m | 1 -
>   bin/vlc.c       | 1 -
>   bin/winvlc.c    | 1 -
>   3 files changed, 3 deletions(-)
> 
> diff --git a/bin/darwinvlc.m b/bin/darwinvlc.m
> index b405c9731f..db6f4ff1b4 100644
> --- a/bin/darwinvlc.m
> +++ b/bin/darwinvlc.m
> @@ -231,7 +231,6 @@ int main(int i_argc, const char *ppsz_argv[])
>       int argc = 0;
>   
>       argv[argc++] = "--no-ignore-config";
> -    argv[argc++] = "--media-library";
>   
>       /* Overwrite system language */
>       CFPropertyListRef lang_pref = CFPreferencesCopyAppValue(CFSTR("language"),
> diff --git a/bin/vlc.c b/bin/vlc.c
> index 268922a617..ad710f727e 100644
> --- a/bin/vlc.c
> +++ b/bin/vlc.c
> @@ -205,7 +205,6 @@ int main(int argc, const char *argv[])
>       int count = 0;
>   
>       args[count++] = "--no-ignore-config";
> -    args[count++] = "--media-library";
>   #ifdef HAVE_DBUS
>       args[count++] = "--dbus";
>   #endif
> diff --git a/bin/winvlc.c b/bin/winvlc.c
> index 81fed36205..944a1e0654 100644
> --- a/bin/winvlc.c
> +++ b/bin/winvlc.c
> @@ -183,7 +183,6 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
>       int j = 0;
>       char *lang = NULL;
>   
> -    argv[j++] = FromWide( L"--media-library" );
>       argv[j++] = FromWide( L"--no-ignore-config" );
>       for (int i = 1; i < argc; i++)
>       {
> -- 
> 2.20.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