[vlc-devel] [PATCH] /src/misc/messages.c Added loging via OutputDebugString under windows. attempt 3.

Sergey Radionov rsatom at gmail.com
Thu Nov 17 09:04:32 CET 2011



17.11.2011 13:34, Rémi Denis-Courmont пишет:
> On Thu, 17 Nov 2011 12:06:22 +0700, Sergey Radionov<rsatom at gmail.com>
> wrote:
>> Regarding second attempt, I've found that sometimes debug messages can
>> exceed 512 bytes, so I've increased buffer length to 2*1024 bytes.
>
> Messages can be any length.
>
> And I am not sure passing all VLC messages to Windows unconditionally is a
> good idea.
Or you meen, I must add something like

     if (*pverbose < 0 || *pverbose < (type - VLC_MSG_ERR))
         return;

as it is in PrintMsg and PrintColorMsg 
(http://git.videolan.org/?p=vlc.git;a=blob;f=src/misc/messages.c;hb=HEAD#l261)?

>
>

-- 
With best wishes,
Sergey Radionov



More information about the vlc-devel mailing list