Commit 6d89b58c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Jean-Baptiste Kempf

logo: missing initializer

(cherry picked from commit 560374a8a12a22ea26cad63ceb150c76dcc70f98)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e51cf4d9
...@@ -276,6 +276,7 @@ static int OpenCommon( vlc_object_t *p_this, bool b_sub ) ...@@ -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 = var_CreateGetIntegerCommand( p_filter, "logo-position" );
p_sys->i_pos_x = var_CreateGetIntegerCommand( p_filter, "logo-x" ); p_sys->i_pos_x = var_CreateGetIntegerCommand( p_filter, "logo-x" );
p_sys->i_pos_y = var_CreateGetIntegerCommand( p_filter, "logo-y" ); 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 */ /* 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 ) if( !b_sub && p_sys->i_pos_x >= 0 && p_sys->i_pos_y >= 0 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment