Commit 136bd325 authored by Ilkka Ollakka's avatar Ilkka Ollakka Committed by Thomas Guillem

canvas: handle filter_chain_AppendConverter return-code correctly

Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent 2bc9957c
......@@ -330,7 +330,7 @@ static int Activate( vlc_object_t *p_this )
filter_chain_Reset( p_sys->p_chain, &p_filter->fmt_in, &fmt );
/* Append scaling module */
if ( !filter_chain_AppendConverter( p_sys->p_chain, NULL, NULL ) )
if ( filter_chain_AppendConverter( p_sys->p_chain, NULL, NULL ) )
{
msg_Err( p_filter, "Could not append scaling filter" );
free( p_sys );
......
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