Revised attached filter handling and clones
[melted] / src / modules / plus / filter_affine.c
index 2e76c51..f3d0b6b 100644 (file)
@@ -96,7 +96,7 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame )
        char *name = mlt_properties_get( mlt_filter_properties( this ), "_unique_id" );
 
        // Assign the current position to the name
-       mlt_properties_set_position( properties, name, mlt_frame_get_position( frame ) );
+       mlt_properties_set_position( properties, name, mlt_frame_get_position( frame ) - mlt_filter_get_in( this ) );
 
        // Push the frame filter
        mlt_frame_push_service( frame, this );