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

Sergey Radionov rsatom at gmail.com
Thu Nov 17 08:53:27 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.
I understand, but it better then nothing...

>
> And I am not sure passing all VLC messages to Windows unconditionally is a
> good idea.
It is not very different from output messages to console (more over, with windows console which 
can't catch vlc output, as you know), and without -vvv, it will be not much messages.

And, as I know, some peoples asking for way to view debug output from libvlc in custom projects 
(ActiveX and npapi some of them), but all libvlc "libvlc_log_" declared as "deprecated", so I can't 
find any other way to do logging under windows, rather then that patch...

Or, if you know sach way, tell me please, I am very need it...
Or tell me, how I can make this patch better...
I will be very appreciate, really.


-- 
With best wishes,
Sergey Radionov



More information about the vlc-devel mailing list