mlt_filter.c
[melted] / src / framework / mlt_filter.c
index 6ca7afb..e97d6e0 100644 (file)
@@ -147,7 +147,8 @@ mlt_position mlt_filter_get_out( mlt_filter this )
 
 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 );