output->mix = out->mix;
output->distort = out->distort;
}
-
- // Definitely incorrect...
-#if 0
- if ( ( int )output->x & 1 && ( int )output->w & 1 )
- {
- output->x -= 1.0;
- output->w += 1.0;
- }
- else if ( ( int )output->x & 1 )
- {
- output->x += 1.0;
- }
- else if ( ( int )output->w & 1 )
- {
- output->w += 1.0;
- }
-#endif
}
static void transition_destroy_keys( void *arg )
if ( y + h > height )
h = height - y;
- //x = ( x | 1 ) ^ 1;
- //w = ( w | 1 ) ^ 1;
+ x = ( x | 1 ) ^ 1;
+ w = ( w | 1 ) ^ 1;
// Now we need to create a new destination image
dest = mlt_pool_alloc( w * h * 2 );