[vlc-commits] canvas: handle filter_chain_AppendConverter return-code correctly
Ilkka Ollakka
git at videolan.org
Mon Aug 28 13:32:55 CEST 2017
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Aug 28 14:12:26 2017 +0300| [136bd325e8858890dcd6527ee94be2ab3169c865] | committer: Thomas Guillem
canvas: handle filter_chain_AppendConverter return-code correctly
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=136bd325e8858890dcd6527ee94be2ab3169c865
---
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 );
More information about the vlc-commits
mailing list