[vlc-commits] libvlc: simplify logging callback

Rémi Denis-Courmont git at videolan.org
Mon Mar 18 22:15:26 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 18 22:13:56 2013 +0200| [aa1a821d4f2280400aefee8f21407793e2707351] | committer: Rémi Denis-Courmont

libvlc: simplify logging callback

Remove static data, and keep each callback correctly scoped to its
LibVLC instance.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aa1a821d4f2280400aefee8f21407793e2707351
---

 include/vlc_interface.h |   25 +++++------
 modules/misc/logger.c   |    2 +-
 src/libvlc.c            |    7 ++-
 src/libvlc.h            |   14 +++++-
 src/libvlccore.sym      |    3 +-
 src/misc/messages.c     |  114 +++++++++++++++++++----------------------------
 src/os2/thread.c        |    4 +-
 src/win32/thread.c      |    4 +-
 8 files changed, 79 insertions(+), 94 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=aa1a821d4f2280400aefee8f21407793e2707351


More information about the vlc-commits mailing list