From: Gildas Bazin Date: Wed, 16 Aug 2006 20:59:04 +0000 (+0000) Subject: * src/misc/messages.c: if OBJECT_FLAGS_NODBG is specified, don't output any messages... X-Git-Tag: 0.9.0-test0~10635 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2379ab142f5c87ddab69e6cb26fbeae3b7f85510;p=vlc * src/misc/messages.c: if OBJECT_FLAGS_NODBG is specified, don't output any messages at all. That avoids flooding the console with useless messages when preparsing. --- diff --git a/src/misc/messages.c b/src/misc/messages.c index c26ab93456..acd5059f5f 100644 --- a/src/misc/messages.c +++ b/src/misc/messages.c @@ -312,8 +312,7 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue_id, int i_type, int i; if( p_this == NULL || p_this->i_flags & OBJECT_FLAGS_QUIET || - (p_this->i_flags & OBJECT_FLAGS_NODBG && - i_type == VLC_MSG_DBG ) ) + p_this->i_flags & OBJECT_FLAGS_NODBG ) { return; }