mlt_properties_set_int( MLT_FRAME_PROPERTIES( *frame ), "fx_cut", 1 );
mlt_frame_push_service( *frame, NULL );
mlt_frame_push_audio( *frame, NULL );
- mlt_service_apply_filters( parent, *frame, 0 );
+ mlt_service_apply_filters( MLT_PRODUCER_SERVICE( parent ), *frame, 0 );
mlt_service_apply_filters( real, *frame, 0 );
mlt_deque_pop_front( MLT_FRAME_IMAGE_STACK( *frame ) );
mlt_deque_pop_front( MLT_FRAME_AUDIO_STACK( *frame ) );
mlt_position in = mlt_filter_get_in( base->filters[ i ] );
mlt_position out = mlt_filter_get_out( base->filters[ i ] );
int disable = mlt_properties_get_int( MLT_FILTER_PROPERTIES( base->filters[ i ] ), "disable" );
- if ( !disable && ( in == 0 && out == 0 ) || ( position >= in && ( position <= out || out == 0 ) ) )
+ if ( !disable && ( ( in == 0 && out == 0 ) || ( position >= in && ( position <= out || out == 0 ) ) ) )
{
mlt_properties_set_position( frame_properties, "in", in == 0 ? this_in : in );
mlt_properties_set_position( frame_properties, "out", out == 0 ? this_out : out );