We don't the logging level. Assume debug is only wanted in debug builds.
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 22 Jan 2008 19:46:41 +0000 (19:46 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 22 Jan 2008 19:46:41 +0000 (19:46 +0000)
src/misc/messages.c

index 0795337..9043216 100644 (file)
@@ -297,6 +297,10 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue, int i_type,
 
     if( p_this == NULL )
     {
+#ifndef NDEBUG
+        if( i_type == VLC_MSG_DBG )
+            return;
+#endif
         utf8_vfprintf( stderr, psz_format, _args );
         return;
     }