]> git.sesse.net Git - mlt/blobdiff - src/modules/opengl/filter_movit_resample.cpp
Hide the movit.parms properties from serialization.
[mlt] / src / modules / opengl / filter_movit_resample.cpp
index 74dd55a9eb2167955cb46daafd2b791860192313..4611fe2f49b4c29d6c25fd7bba5ffecfc2e04799 100644 (file)
@@ -25,6 +25,8 @@
 #include <movit/resample_effect.h>
 #include "optional_effect.h"
 
+using namespace movit;
+
 static int get_image( mlt_frame frame, uint8_t **image, mlt_image_format *format, int *width, int *height, int writable )
 {
        mlt_properties properties = MLT_FRAME_PROPERTIES( frame );
@@ -61,11 +63,11 @@ static int get_image( mlt_frame frame, uint8_t **image, mlt_image_format *format
                mlt_properties_set_int( properties, "consumer_deinterlace", 1 );
 
        GlslManager::get_instance()->lock_service( frame );
-       mlt_properties_set_int( filter_properties, "movit.parms.int.width", owidth );
-       mlt_properties_set_int( filter_properties, "movit.parms.int.height", oheight );
+       mlt_properties_set_int( filter_properties, "_movit.parms.int.width", owidth );
+       mlt_properties_set_int( filter_properties, "_movit.parms.int.height", oheight );
 
        bool disable = ( iwidth == owidth && iheight == oheight );
-       mlt_properties_set_int( filter_properties, "movit.parms.int.disable", disable );
+       mlt_properties_set_int( filter_properties, "_movit.parms.int.disable", disable );
 
        *width = owidth;
        *height = oheight;