int alpha_stride = stride_src / bpp;
if ( uneven )
- p_src -= 2;
+ {
+ p_dest += 2;
+ width_src --;
+ }
// now do the compositing only to cropped extents
if ( line_fn != NULL )
mlt_properties_set( b_props, "distort", "true" );
// Take into consideration alignment for optimisation
- alignment_calculate( geometry );
+ if ( !mlt_properties_get_int( properties, "titles" ) )
+ alignment_calculate( geometry );
// Adjust to consumer scale
int x = geometry->x * *width / geometry->nw;
// Do the calculation if we need to
geometry_calculate( &result, start, field_position );
+ if ( mlt_properties_get_int( properties, "titles" ) )
+ {
+ result.nw = result.w = *width;
+ result.nh = result.h = *height;
+ result.sw = width_b;
+ result.sh = height_b;
+ }
+
// Align
alignment_calculate( &result );