[vlc-devel] [PATCH] Win32: show the console (early) in debug builds

Geoffroy Couprie geo.couprie at gmail.com
Tue Aug 19 12:54:19 CEST 2008


On Mon, Aug 18, 2008 at 6:50 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On Sun, Aug 17, 2008 at 10:21:53PM +0300, Rémi Denis-Courmont wrote :
>> Le jeudi 14 août 2008 22:35:59 Rémi Denis-Courmont, vous avez écrit :
>> > ---
>> >  src/libvlc.c |    4 ++++
>> >  1 files changed, 4 insertions(+), 0 deletions(-)
>> >
>> > diff --git a/src/libvlc.c b/src/libvlc.c
>> > index 9673a5c..e19a457 100644
>> > --- a/src/libvlc.c
>> > +++ b/src/libvlc.c
>> > @@ -272,6 +272,10 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int
>> > i_argc, #endif
>> >  #endif
>> >
>> > +#if defined (WIN32) && !defined (NDEBUG)
>> > +    ShowConsole (true);
>> > +#endif
>> > +
>> >      /* System specific initialization code */
>> >      system_Init( p_libvlc, &i_argc, ppsz_argv );
>> >
>> > --
>> > 1.5.6.3
>>
>> Ping...
> This seems ok for me, but geal( Geo? ) can you double-check please ?
>
Works fine for me. There's just something annoying with debug info:
the vlc-help.txt file is created, but is empty.



More information about the vlc-devel mailing list