[vlc-devel] [vlc-commits] commit: winvlc: enable media-library ( Rafaël Carré )

Geoffroy Couprie geo.couprie at gmail.com
Thu Oct 21 10:52:06 CEST 2010


Hello,

On Wed, Oct 20, 2010 at 7:55 PM,  <git at videolan.org> wrote:
> vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed Oct 20 19:54:54 2010 +0200| [0dc9628b41d82256474d21f00a569119f403ab32] | committer: Rafaël Carré
>
> winvlc: enable media-library
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0dc9628b41d82256474d21f00a569119f403ab32
> ---
>
>  bin/winvlc.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/bin/winvlc.c b/bin/winvlc.c
> index b91cea1..92d3441 100644
> --- a/bin/winvlc.c
> +++ b/bin/winvlc.c
> @@ -139,10 +139,11 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
>     if (wargv == NULL)
>         return 1;
>
> -    char *argv[argc + 1];
> +    char *argv[argc + 2];
>     BOOL crash_handling = TRUE;
>     int j = 0;
>
> +    argv[j++] = FromWide( L"--media-library" );
>     argv[j++] = FromWide( L"--no-ignore-config" );
>     for (int i = 1; i < argc; i++)
>     {
>

What happens if I deactivate the ML in Preferences? Would it still appear?



More information about the vlc-devel mailing list