X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2Ffilter_mirror.c;h=813aeef87b54b72593ae734b40f28fe449418b21;hb=b2737f448f85593413049ae846fa27e6ecc5bf35;hp=3dd6dbfc11cc1428bc68b64bcd5fcd8c620fbcbe;hpb=b1616107824f9c1b2e83c97d9a8d3b0cc700ef5f;p=mlt diff --git a/src/modules/core/filter_mirror.c b/src/modules/core/filter_mirror.c index 3dd6dbfc..813aeef8 100644 --- a/src/modules/core/filter_mirror.c +++ b/src/modules/core/filter_mirror.c @@ -43,13 +43,14 @@ static int filter_get_image( mlt_frame frame, uint8_t **image, mlt_image_format int reverse = mlt_properties_get_int( properties, "reverse" ); // Get the image + *format = mlt_image_yuv422; int error = mlt_frame_get_image( frame, image, format, width, height, 1 ); // Get the alpha uint8_t *alpha = mlt_frame_get_alpha_mask( frame ); // If we have an image of the right colour space - if ( error == 0 && *format == mlt_image_yuv422 ) + if ( error == 0 ) { // We'll KISS here int hh = *height / 2;