[vlc-devel] [PATCH] Puzzle filter enhancement

Rémi Denis-Courmont remi at remlab.net
Thu Jan 17 18:05:22 CET 2013


Le jeudi 17 janvier 2013 13:13:18, Jean-Baptiste Kempf a écrit :
> > +    p_sys->s_new_param.i_rows =
> > +        var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "rows" );
> > +    p_sys->s_new_param.i_cols =
> > +        var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "cols" );
> > +    p_sys->s_new_param.b_blackslot =
> > +        var_CreateGetBoolCommand( p_filter, CFG_PREFIX "black-slot" );
> > +    p_sys->s_new_param.b_near =
> > +        var_CreateGetBoolCommand( p_filter, CFG_PREFIX "near" );
> > +    p_sys->s_new_param.i_border =
> > +        var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "border" );
> > +    p_sys->s_new_param.b_preview =
> > +        var_CreateGetBoolCommand( p_filter, CFG_PREFIX "preview" );
> > +    p_sys->s_new_param.i_preview_size =
> > +        var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "preview-size"
> > ); +    p_sys->s_new_param.i_shape_size =
> > +        var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "shape-size"
> > ); +    p_sys->s_new_param.b_advanced =
> > +        var_CreateGetBoolCommand( p_filter, CFG_PREFIX "advanced-game"
> > ); +    p_sys->s_new_param.i_auto_shuffle_speed =
> > +        var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "auto-shuffle"
> > ); +    p_sys->s_new_param.i_auto_solve_speed =
> > +        var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "auto-solve"
> > ); +    p_sys->s_new_param.i_rotate =
> > +        var_CreateGetIntegerCommand( p_filter, CFG_PREFIX "rotation" );
> 
> Why no Inherit?

Because var_AddCallback() below...

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list