]> git.sesse.net Git - mlt/blobdiff - src/modules/vmfx/filter_chroma_hold.c
Massive refactoring of image conversion.
[mlt] / src / modules / vmfx / filter_chroma_hold.c
index 07ca4a800e25b218d87bdfbba9c881fd71af4006..d375faa5ad0e78f523e73f1ddd712e4d12f30027 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 = 0;