X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fgtk2%2Ffilter_rescale.c;h=02b76442a769f6a27b30247b947baa48911a5bf2;hb=2af8bb9f6a61f6510aab8f45abf5f26e9e619c78;hp=f4c69ace4575162e48749b60ae1d44014db36ce6;hpb=02e99cb00ed4a03a8f98c7f570cc9526478bfdc1;p=melted diff --git a/src/modules/gtk2/filter_rescale.c b/src/modules/gtk2/filter_rescale.c index f4c69ac..02b7644 100644 --- a/src/modules/gtk2/filter_rescale.c +++ b/src/modules/gtk2/filter_rescale.c @@ -91,6 +91,13 @@ static int filter_get_image( mlt_frame this, uint8_t **image, mlt_image_format * // Return the output *image = output; } + else if ( *format == mlt_image_yuv422 && !strcmp( interps, "none" ) ) + { + // Do nothing + *width = iwidth; + *height = iheight; + *image = input; + } else if ( *format == mlt_image_rgb24 || *format == mlt_image_rgb24a ) { int bpp = (*format == mlt_image_rgb24a ? 4 : 3 );