]> git.sesse.net Git - vlc/commitdiff
* src/misc/messages.c: if OBJECT_FLAGS_NODBG is specified, don't output any messages...
authorGildas Bazin <gbazin@videolan.org>
Wed, 16 Aug 2006 20:59:04 +0000 (20:59 +0000)
committerGildas Bazin <gbazin@videolan.org>
Wed, 16 Aug 2006 20:59:04 +0000 (20:59 +0000)
src/misc/messages.c

index c26ab934568a01e4e43e4e66859f309d91f30356..acd5059f5f0629fd6d6a15db1c4182cd1028c75b 100644 (file)
@@ -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;
     }