}
// 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
mlt_properties_set_data( MLT_FRAME_PROPERTIES(this), "bounds", bounds, sizeof( struct mlt_geometry_item_s ), NULL, NULL );
/** Constructor for the filter.
*/
-mlt_filter filter_crop_detect_init( char *arg )
+mlt_filter filter_crop_detect_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
{
mlt_filter this = mlt_filter_new( );
if ( this != NULL )