]> git.sesse.net Git - mlt/blobdiff - src/modules/opengl/filter_movit_lift_gamma_gain.cpp
Propertly refcount the GlslManager.
[mlt] / src / modules / opengl / filter_movit_lift_gamma_gain.cpp
index de934d035aabde99c33b289e26299729255ee48d..a45d87b314b7ae355e135fdcaba76bafdb226595 100644 (file)
@@ -74,6 +74,7 @@ mlt_filter filter_lift_gamma_gain_init( mlt_profile profile, mlt_service_type ty
 
        if ( glsl && ( filter = mlt_filter_new() ) ) {
                mlt_properties properties = MLT_FILTER_PROPERTIES( filter );
+               glsl->add_ref( properties );
                mlt_properties_set_double( properties, "lift_r", 0.0 );
                mlt_properties_set_double( properties, "lift_g", 0.0 );
                mlt_properties_set_double( properties, "lift_b", 0.0 );