Commit 2379ab14 authored by Gildas Bazin's avatar Gildas Bazin

* src/misc/messages.c: if OBJECT_FLAGS_NODBG is specified, don't output any...

* 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.
parent 4519ef1e
...@@ -312,8 +312,7 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue_id, int i_type, ...@@ -312,8 +312,7 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue_id, int i_type,
int i; int i;
if( p_this == NULL || p_this->i_flags & OBJECT_FLAGS_QUIET || if( p_this == NULL || p_this->i_flags & OBJECT_FLAGS_QUIET ||
(p_this->i_flags & OBJECT_FLAGS_NODBG && p_this->i_flags & OBJECT_FLAGS_NODBG )
i_type == VLC_MSG_DBG ) )
{ {
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment