[vlc-devel] commit: Fix error message. (Antoine Cellerier )

git version control git at videolan.org
Sat Aug 23 18:35:12 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Sat Aug 23 18:24:34 2008 +0200| [5be4a8293b0619a30b757e99de094e322d90ac37] | committer: Antoine Cellerier 

Fix error message.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5be4a8293b0619a30b757e99de094e322d90ac37
---

 src/misc/filter_chain.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/misc/filter_chain.c b/src/misc/filter_chain.c
index 808b6b6..7395c6b 100644
--- a/src/misc/filter_chain.c
+++ b/src/misc/filter_chain.c
@@ -182,10 +182,11 @@ static filter_t *filter_chain_AppendFilterInternal( filter_chain_t *p_chain,
 
     error:
         if( psz_name )
-            msg_Err( p_chain->p_this, "Failed to create video filter '%s'",
-                     psz_name );
+            msg_Err( p_chain->p_this, "Failed to create %s '%s'",
+                     p_chain->psz_capability, psz_name );
         else
-            msg_Err( p_chain->p_this, "Failed to create video filter" );
+            msg_Err( p_chain->p_this, "Failed to create %s",
+                     p_chain->psz_capability );
         if( p_filter->p_module ) module_Unneed( p_filter,
                                                 p_filter->p_module );
         es_format_Clean( &p_filter->fmt_in );




More information about the vlc-devel mailing list