while ( iheight -- )
{
// We're in the input range for this row.
- memcpy( out_line, in_line, iwidth * bpp );
+ memcpy( out_line, in_line, istride );
// Move to next input line
in_line += istride;
mlt_properties_set_int( properties, "resize_height", *height );
// Now get the image
+ if ( *format == mlt_image_yuv422 )
+ owidth -= owidth % 2;
error = mlt_frame_get_image( this, image, format, &owidth, &oheight, writable );
if ( error == 0 && *image )
}
else if ( strcmp( op, "none" ) != 0 )
{
+ *width = owidth;
+ *height = oheight;
*image = frame_resize_image( this, *width, *height, bpp );
}
else