// Pass all the composite. properties on the filter down
mlt_properties_pass( composite_properties, properties, "composite." );
+ if ( mlt_properties_get( properties, "composite.out" ) == NULL )
+ mlt_properties_set_int( composite_properties, "out", mlt_properties_get_int( properties, "_out" ) );
+
// Force a refresh
mlt_properties_set_int( composite_properties, "refresh", 1 );
}
// Get a unique name to store the frame position
char *name = mlt_properties_get( MLT_FILTER_PROPERTIES( this ), "_unique_id" );
+ // Assign the frame out point to the filter (just in case we need it later)
+ mlt_properties_set_int( MLT_FILTER_PROPERTIES( this ), "_out", mlt_properties_get_int( properties, "out" ) );
+
// Assign the current position to the name
mlt_properties_set_position( properties, name, mlt_frame_get_position( frame ) - mlt_filter_get_in( this ) );