]> git.sesse.net Git - mlt/commitdiff
Fix the relative position of affine filter.
authorDan Dennedy <dan@dennedy.org>
Sat, 19 Jun 2010 21:02:19 +0000 (14:02 -0700)
committerDan Dennedy <dan@dennedy.org>
Sat, 19 Jun 2010 21:02:19 +0000 (14:02 -0700)
src/modules/plus/filter_affine.c

index 755d16bb2fc97ded9a921bfe82f55888c336001f..bb15152c9f7f819d8c6a80055b57d44bf8e4886a 100644 (file)
@@ -108,7 +108,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_filter_get_in( this ) );
+       mlt_properties_set_position( properties, name, mlt_frame_get_position( frame ) );
 
        // Push the frame filter
        mlt_frame_push_service( frame, this );