[vlc-devel] [vlc-commits] Allow logging error messages with no VLC object (NULL)

Rémi Denis-Courmont remi at remlab.net
Sun Aug 21 16:26:14 CEST 2011


Le dimanche 21 août 2011 17:17:28 Rémi Denis-Courmont, vous avez écrit :
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 21
> 17:16:56 2011 +0300| [cfe30ad2ecd7ba1915cd414cc7d04778dde124d6] |
> committer: Rémi Denis-Courmont
> 
> Allow logging error messages with no VLC object (NULL)

So now, libraries logging callbacks can be hooked to VLC's. Note however that 
the traditional msg_*() macros won't like NULL due to the casting magic. So 
vlc_Log() or vlc_vaLog() needs to be used instead.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list