]> git.sesse.net Git - vlc/commitdiff
* forgot the most important file of the commit :)
authorDerk-Jan Hartman <hartman@videolan.org>
Tue, 31 Aug 2004 18:52:22 +0000 (18:52 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Tue, 31 Aug 2004 18:52:22 +0000 (18:52 +0000)
src/misc/modules.c

index cc0457224b4cb05e65e66dfb3dd3f34bc711f152..06d78d0675c8e167482af60b31101b9a5d68a7e5 100644 (file)
@@ -612,8 +612,16 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability,
     }
     else if( p_first == NULL )
     {
-        msg_Err( p_this, "no %s module matched \"%s\"",
+        if( !strcmp( psz_capability, "access_demux" ) )
+        {
+            msg_Warn( p_this, "no %s module matched \"%s\"",
                  psz_capability, (psz_name && *psz_name) ? psz_name : "any" );
+        }
+        else
+        {  
+            msg_Err( p_this, "no %s module matched \"%s\"",
+                 psz_capability, (psz_name && *psz_name) ? psz_name : "any" );
+        }
     }
     else if( psz_name != NULL && *psz_name )
     {