]> git.sesse.net Git - mlt/blobdiff - src/modules/vmfx/filter_shape.c
Massive refactoring of image conversion.
[mlt] / src / modules / vmfx / filter_shape.c
index fdd33e435233bb34eaf30077ca83fe187d903473..00b0ed082538d743719d39c260a562960b019131 100644 (file)
@@ -49,6 +49,7 @@ static int filter_get_image( mlt_frame this, uint8_t **image, mlt_image_format *
        int invert = mlt_properties_get_int( MLT_FILTER_PROPERTIES( filter ), "invert" ) * 255;
 
        // Render the frame
+       *format = mlt_image_yuv422;
        if ( mlt_frame_get_image( this, image, format, width, height, writable ) == 0 && ( !use_luminance || ( int )mix != 1 ) )
        {
                // Get the alpha mask of the source