[vlc-commits] Push log message formatting to subscribers
Rémi Denis-Courmont
git at videolan.org
Sat Aug 20 22:35:28 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 20 23:34:43 2011 +0300| [63d1c692a8a07c79e1bbd9a105741accbf04923c] | committer: Rémi Denis-Courmont
Push log message formatting to subscribers
This avoids allocating memory and formatting debug messages when none
of the subscribers care about them.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=63d1c692a8a07c79e1bbd9a105741accbf04923c
---
include/vlc_messages.h | 5 +--
modules/gui/ncurses.c | 43 ++++++++++++++--------
modules/gui/qt4/dialogs/messages.cpp | 18 ++++++----
modules/gui/qt4/dialogs/messages.hpp | 4 ++-
modules/misc/logger.c | 65 +++++++++++++++------------------
src/misc/messages.c | 56 ++++++++++++++--------------
6 files changed, 101 insertions(+), 90 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=63d1c692a8a07c79e1bbd9a105741accbf04923c
More information about the vlc-commits
mailing list