[vlc-devel] [PATCH] canvas: handle filter_chain_AppendConverter return-code correctly
Ilkka Ollakka
ileoo at videolan.org
Mon Aug 28 13:12:26 CEST 2017
---
modules/video_filter/canvas.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_filter/canvas.c b/modules/video_filter/canvas.c
index f47538ed16..41fe4766ac 100644
--- a/modules/video_filter/canvas.c
+++ b/modules/video_filter/canvas.c
@@ -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 );
--
2.14.1
More information about the vlc-devel
mailing list