]> git.sesse.net Git - mlt/blobdiff - src/modules/opengl/filter_movit_saturation.cpp
Propertly refcount the GlslManager.
[mlt] / src / modules / opengl / filter_movit_saturation.cpp
index d23a0503063b7908616901e43e9e47ddaed230dd..fa8a7e7d5c83ed7de1f017e9eb9484ee8214929c 100644 (file)
@@ -58,6 +58,7 @@ mlt_filter filter_movit_saturation_init( mlt_profile profile, mlt_service_type t
 
        if ( glsl && ( filter = mlt_filter_new() ) ) {
                mlt_properties properties = MLT_FILTER_PROPERTIES( filter );
+               glsl->add_ref( properties );
                mlt_properties_set( properties, "saturation", arg? arg : "1.0" );
                filter->process = process;
        }