[vlc-devel] how to output ffmpeg message in vlc
Rémi Denis-Courmont
remi at remlab.net
Tue Mar 20 08:35:22 CET 2012
On Tue, 20 Mar 2012 11:55:11 +0700, Sergey Radionov <rsatom at gmail.com>
wrote:
> to view libav messages under windows the only way is to add something
like
> OutputDebugString to
> vlc\modules\codec\avcodec\avutil.h : LibavutilCallback
That cannot work unless vlc_Log() drops the vlc_object_t parameter.
Without it:
- There would be no more object in messages.
- The future LibVLC logging API would have to be process-scoped
rather than instance-scoped.
Nevertheless:
- The plugin name would still be available in messages.
- The file name, function name and line number could be added.
Even then, it is not clear that LibVLC could register with libav errors.
Doing that might cause problems in programs using both libav-through-LibVLC
and libav directly or through something else than LibVLC.
--
Rémi Denis-Courmont
Sent from my collocated server
More information about the vlc-devel
mailing list