X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fmotion_est%2Ffilter_crop_detect.c;h=b47e30710c865430c71a888a378d95ddb0c18167;hb=bd2707bb370eda9cae39e22b5e89b9096474cd7d;hp=ef9f48fc70109da553efb66a4cea25abd80651ac;hpb=3956dade4761301c97cc685253cb42f431f8ab18;p=melted diff --git a/src/modules/motion_est/filter_crop_detect.c b/src/modules/motion_est/filter_crop_detect.c index ef9f48f..b47e307 100644 --- a/src/modules/motion_est/filter_crop_detect.c +++ b/src/modules/motion_est/filter_crop_detect.c @@ -75,7 +75,7 @@ static int filter_get_image( mlt_frame this, uint8_t **image, mlt_image_format * } // For periodic detection (with offset of 'skip') - if( frequency == 0 || (mlt_frame_get_position(this)+skip) % frequency != 0) + if( frequency == 0 || (int)mlt_frame_get_position(this)+skip % frequency != 0) { // Inject in stream