]> git.sesse.net Git - mlt/blobdiff - src/modules/opengl/filter_movit_opacity.cpp
Propertly refcount the GlslManager.
[mlt] / src / modules / opengl / filter_movit_opacity.cpp
index 5916c34e6f595d4ced4af8b5ee5c011f5bacfec8..3cdb8ab3bd1c420dd779a96735aa5ddee7a402b1 100644 (file)
@@ -60,6 +60,7 @@ mlt_filter filter_movit_opacity_init( mlt_profile profile, mlt_service_type type
 
        if ( glsl && ( filter = mlt_filter_new() ) ) {
                mlt_properties properties = MLT_FILTER_PROPERTIES( filter );
+               glsl->add_ref( properties );
                mlt_properties_set( properties, "opacity", arg? arg : "1" );
                filter->process = process;
        }