mlt_properties_set_data( mlt_frame_properties( frame ), name, b_frame, 0, ( mlt_destructor )mlt_frame_close, NULL );
}
+ // Set the position of the b_frame
+ mlt_frame_set_position( b_frame, position );
+
// Make sure the filter is in the correct position
while ( filter != NULL )
{
filter = mlt_properties_get_data( properties, id, NULL );
}
+ // Allow filters to be attached to a region filter
+ filter = mlt_properties_get_data( properties, "_region_filter", NULL );
+ if ( filter != NULL )
+ mlt_service_apply_filters( mlt_filter_service( filter ), b_frame, 0 );
+
// Hmm - this is probably going to go wrong....
mlt_frame_set_position( frame, position );