X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmodules%2Fopengl%2Ffilter_movit_opacity.cpp;fp=src%2Fmodules%2Fopengl%2Ffilter_movit_opacity.cpp;h=5c14465b97859c192448a6d933b24701126b293f;hb=55658e76a91c33eeded3093fe2b3b64a539a2417;hp=eac2975778a681d028941234a242875110f969a6;hpb=3f84fe14c06956b5092c257fd27da490565566e5;p=mlt diff --git a/src/modules/opengl/filter_movit_opacity.cpp b/src/modules/opengl/filter_movit_opacity.cpp index eac29757..5c14465b 100644 --- a/src/modules/opengl/filter_movit_opacity.cpp +++ b/src/modules/opengl/filter_movit_opacity.cpp @@ -35,10 +35,10 @@ static int get_image( mlt_frame frame, uint8_t **image, mlt_image_format *format mlt_position length = mlt_filter_get_length2( filter, frame ); double opacity = mlt_properties_anim_get_double( properties, "opacity", position, length ); double alpha = mlt_properties_anim_get_double( properties, "alpha", position, length ); - mlt_properties_set_double( properties, "movit.parms.vec4.factor[0]", opacity ); - mlt_properties_set_double( properties, "movit.parms.vec4.factor[1]", opacity ); - mlt_properties_set_double( properties, "movit.parms.vec4.factor[2]", opacity ); - mlt_properties_set_double( properties, "movit.parms.vec4.factor[3]", alpha >= 0 ? alpha : opacity ); + mlt_properties_set_double( properties, "_movit.parms.vec4.factor[0]", opacity ); + mlt_properties_set_double( properties, "_movit.parms.vec4.factor[1]", opacity ); + mlt_properties_set_double( properties, "_movit.parms.vec4.factor[2]", opacity ); + mlt_properties_set_double( properties, "_movit.parms.vec4.factor[3]", alpha >= 0 ? alpha : opacity ); GlslManager::get_instance()->unlock_service( frame ); *format = mlt_image_glsl; int error = mlt_frame_get_image( frame, image, format, width, height, writable );