X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmodules%2Fopengl%2Ffilter_movit_opacity.cpp;h=3cdb8ab3bd1c420dd779a96735aa5ddee7a402b1;hb=3a0830989b99178eec0ab334ea8dea36c4cc429c;hp=5916c34e6f595d4ced4af8b5ee5c011f5bacfec8;hpb=6005571e839b74e9019f8f43b4ef4ff76f793780;p=mlt diff --git a/src/modules/opengl/filter_movit_opacity.cpp b/src/modules/opengl/filter_movit_opacity.cpp index 5916c34e..3cdb8ab3 100644 --- a/src/modules/opengl/filter_movit_opacity.cpp +++ b/src/modules/opengl/filter_movit_opacity.cpp @@ -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; }