[vlc-commits] logo: missing initializer
Rémi Denis-Courmont
git at videolan.org
Mon Jul 28 23:55:13 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 28 21:35:56 2014 +0300| [560374a8a12a22ea26cad63ceb150c76dcc70f98] | committer: Rémi Denis-Courmont
logo: missing initializer
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=560374a8a12a22ea26cad63ceb150c76dcc70f98
---
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 83f7043..9c566d7 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 )
More information about the vlc-commits
mailing list