*/
this->process = filter_process;
- mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "smooth", "0.8" );
- mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "radius", "0.5" );
- mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "x", "0.5" );
- mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "y", "0.5" );
- mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "opacity", "0.0" );
+ mlt_properties_set_double( MLT_FILTER_PROPERTIES( this ), "smooth", 0.8 );
+ mlt_properties_set_double( MLT_FILTER_PROPERTIES( this ), "radius", 0.5 );
+ mlt_properties_set_double( MLT_FILTER_PROPERTIES( this ), "x", 0.5 );
+ mlt_properties_set_double( MLT_FILTER_PROPERTIES( this ), "y", 0.5 );
+ mlt_properties_set_double( MLT_FILTER_PROPERTIES( this ), "opacity", 0.0 );
//mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "end", "" );
if ( this != NULL )
{
this->process = filter_process;
- mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "x_scatter", "1" );
- mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "y_scatter", "1" );
- mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "scale", "1.5" );
- mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "mix", "0" );
+ mlt_properties_set_int( MLT_FILTER_PROPERTIES( this ), "x_scatter", 1 );
+ mlt_properties_set_int( MLT_FILTER_PROPERTIES( this ), "y_scatter", 1 );
+ mlt_properties_set_double( MLT_FILTER_PROPERTIES( this ), "scale", 1.5 );
+ mlt_properties_set_double( MLT_FILTER_PROPERTIES( this ), "mix", 0.0 );
}
return this;
}