Commit 21554891 authored by ivoire's avatar ivoire
Browse files

mosaic: ad missing var_DelCallback.

parent 511fccb7
......@@ -392,7 +392,26 @@ static void DestroyFilter( vlc_object_t *p_this )
filter_t *p_filter = (filter_t*)p_this;
filter_sys_t *p_sys = p_filter->p_sys;
/* FIXME: destroy callbacks first! */
#define DEL_CB( name ) \
var_DelCallback( p_filter, CFG_PREFIX #name, MosaicCallback, p_sys )
DEL_CB( width );
DEL_CB( height );
DEL_CB( xoffset );
DEL_CB( yoffset );
DEL_CB( align );
DEL_CB( borderw );
DEL_CB( borderh );
DEL_CB( rows );
DEL_CB( cols );
DEL_CB( alpha );
DEL_CB( position );
DEL_CB( delay );
DEL_CB( keep-aspect-ratio );
DEL_CB( order );
#undef DEL_CB
if( !p_sys->b_keep )
{
......
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