]> git.sesse.net Git - mlt/blobdiff - src/modules/opengl/filter_movit_glow.cpp
Propertly refcount the GlslManager.
[mlt] / src / modules / opengl / filter_movit_glow.cpp
index ab9ea0c5e7372ac53a92ec2741367b4086569a5e..3d5f198f30ba1231a1e7ced6fed056cb472c9119 100644 (file)
@@ -62,6 +62,7 @@ mlt_filter filter_movit_glow_init( mlt_profile profile, mlt_service_type type, c
 
        if ( glsl && ( filter = mlt_filter_new() ) ) {
                mlt_properties properties = MLT_FILTER_PROPERTIES( filter );
+               glsl->add_ref( properties );
                mlt_properties_set_double( properties, "radius", 20.0 );
                mlt_properties_set_double( properties, "blur_mix", 1.0 );
                mlt_properties_set_double( properties, "highlight_cutoff", 0.2 );