[vlc-commits] logo: missing initializer

Rémi Denis-Courmont git at videolan.org
Thu Jul 31 20:48:39 CEST 2014


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 28 21:35:56 2014 +0300| [6d89b58c984ce8146420ce8708d4451a4568f0f6] | committer: Jean-Baptiste Kempf

logo: missing initializer

(cherry picked from commit 560374a8a12a22ea26cad63ceb150c76dcc70f98)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=6d89b58c984ce8146420ce8708d4451a4568f0f6
---

 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