From 560374a8a12a22ea26cad63ceb150c76dcc70f98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net> Date: Mon, 28 Jul 2014 21:35:56 +0300 Subject: [PATCH] logo: missing initializer --- modules/video_filter/logo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/video_filter/logo.c b/modules/video_filter/logo.c index 83f7043ad6..9c566d7e7e 100644 --- a/modules/video_filter/logo.c +++ b/modules/video_filter/logo.c @@ -276,6 +276,7 @@ static int OpenCommon( vlc_object_t *p_this, bool b_sub ) p_sys->i_pos = var_CreateGetIntegerCommand( p_filter, "logo-position" ); p_sys->i_pos_x = var_CreateGetIntegerCommand( p_filter, "logo-x" ); p_sys->i_pos_y = var_CreateGetIntegerCommand( p_filter, "logo-y" ); + p_sys->b_absolute = (p_sys->i_pos < 0); /* Ignore aligment if a position is given for video filter */ if( !b_sub && p_sys->i_pos_x >= 0 && p_sys->i_pos_y >= 0 ) -- 2.25.4