mlt_frame mlt_filter_process( mlt_filter this, mlt_frame frame )
{
- if ( this->process == NULL )
+ int disable = mlt_properties_get_int( MLT_FILTER_PROPERTIES( this ), "disable" );
+ if ( disable || this->process == NULL )
return frame;
else
return this->process( this, frame );
mlt_service producer = mlt_service_producer( &this->parent );
// If the frame request is for this filters track, we need to process it
- if ( index == track )
+ if ( index == track || track == -1 )
{
int ret = mlt_service_get_frame( producer, frame, index );
if ( ret == 0 )