]> git.sesse.net Git - mlt/blobdiff - src/modules/vmfx/filter_mono.c
Massive refactoring of image conversion.
[mlt] / src / modules / vmfx / filter_mono.c
index f7ea11d0088ad7c3f492957ba3bc69dbf24ef1f1..7e75f94090b5c58bfed10b6becdf451ba693e423 100644 (file)
@@ -35,6 +35,7 @@ static int filter_get_image( mlt_frame this, uint8_t **image, mlt_image_format *
        int invert = mlt_deque_pop_back_int( MLT_FRAME_IMAGE_STACK( this ) );
 
        // Render the frame
+       *format = mlt_image_yuv422;
        if ( mlt_frame_get_image( this, image, format, width, height, writable ) == 0 )
        {
                uint8_t *p = *image;