]> git.sesse.net Git - mlt/blobdiff - src/modules/vmfx/filter_chroma.c
Massive refactoring of image conversion.
[mlt] / src / modules / vmfx / filter_chroma.c
index de54135cf6017e0fa216fba2ab7abbb741478234..df8c4bfb29bcfbb82c03f2140d20c035d5704ac4 100644 (file)
@@ -53,6 +53,7 @@ static int filter_get_image( mlt_frame frame, uint8_t **image, mlt_image_format
 
        RGB2YUV( r, g, b, y, u, v );
 
+       *format = mlt_image_yuv422;
        if ( mlt_frame_get_image( frame, image, format, width, height, writable ) == 0 )
        {
                uint8_t *alpha = mlt_frame_get_alpha_mask( frame );