git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@808
d19143bc-622f-0410-bfdd-
b5b2a6649095
mlt_properties_set( b_props, "rescale.interp", rescale );
// Do the calculation
mlt_properties_set( b_props, "rescale.interp", rescale );
// Do the calculation
+ // NB: Locks needed here since the properties are being modified
+ mlt_service_lock( MLT_TRANSITION_SERVICE( this ) );
composite_calculate( this, &result, a_frame, position );
composite_calculate( this, &result, a_frame, position );
+ mlt_service_unlock( MLT_TRANSITION_SERVICE( this ) );
// Since we are the consumer of the b_frame, we must pass along these
// consumer properties from the a_frame
// Since we are the consumer of the b_frame, we must pass along these
// consumer properties from the a_frame
double field_position = position + field * delta;
// Do the calculation if we need to
double field_position = position + field * delta;
// Do the calculation if we need to
+ // NB: Locks needed here since the properties are being modified
+ mlt_service_lock( MLT_TRANSITION_SERVICE( this ) );
composite_calculate( this, &result, a_frame, field_position );
composite_calculate( this, &result, a_frame, field_position );
+ mlt_service_unlock( MLT_TRANSITION_SERVICE( this ) );
if ( mlt_properties_get_int( properties, "titles" ) )
{
if ( mlt_properties_get_int( properties, "titles" ) )
{