X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_filter.c;h=11f4db7520cffd983a5f0781c8b6770a875fe2ba;hb=ad829dbc7677a2acc063635db14ce717eb40be50;hp=d83e42fbd4436848164b64e9cad6baabffa3d61b;hpb=efe08354d45db7bf5478ffa17c35330a3e0d415c;p=melted diff --git a/src/framework/mlt_filter.c b/src/framework/mlt_filter.c index d83e42f..11f4db7 100644 --- a/src/framework/mlt_filter.c +++ b/src/framework/mlt_filter.c @@ -169,7 +169,7 @@ static int filter_get_frame( mlt_service service, mlt_frame_ptr frame, int index if ( ret == 0 ) { mlt_position position = mlt_frame_get_position( *frame ); - if ( position >= in && ( out == 0 || position < out ) ) + if ( position >= in && ( out == 0 || position <= out ) ) *frame = mlt_filter_process( this, *frame ); return 0; } @@ -195,4 +195,3 @@ void mlt_filter_close( mlt_filter this ) else mlt_service_close( &this->parent ); } -