Commit 5be4a829 authored by Antoine Cellerier's avatar Antoine Cellerier

Fix error message.

parent 4bba088f
...@@ -182,10 +182,11 @@ static filter_t *filter_chain_AppendFilterInternal( filter_chain_t *p_chain, ...@@ -182,10 +182,11 @@ static filter_t *filter_chain_AppendFilterInternal( filter_chain_t *p_chain,
error: error:
if( psz_name ) if( psz_name )
msg_Err( p_chain->p_this, "Failed to create video filter '%s'", msg_Err( p_chain->p_this, "Failed to create %s '%s'",
psz_name ); p_chain->psz_capability, psz_name );
else 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, if( p_filter->p_module ) module_Unneed( p_filter,
p_filter->p_module ); p_filter->p_module );
es_format_Clean( &p_filter->fmt_in ); es_format_Clean( &p_filter->fmt_in );
......
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