uint8_t b = ( key_val >> 8 ) & 0xff;
uint8_t y, u, v;
- RGB2YUV( r, g, b, y, u, v );
+ RGB2YUV_601_SCALED( 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;
mlt_filter this = mlt_filter_new( );
if ( this != NULL )
{
- mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "key", arg == NULL ? "0xc00000" : arg );
+ mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "key", arg == NULL ? "0xc0000000" : arg );
mlt_properties_set_double( MLT_FILTER_PROPERTIES( this ), "variance", 0.15 );
this->process = filter_process;
}