]> git.sesse.net Git - mlt/blobdiff - src/modules/core/filter_rescale.c
framework: remove global profile, rather share one mlt_profile across a service netwo...
[mlt] / src / modules / core / filter_rescale.c
index e823616666b093a0ab77e15eea713513561994b0..6251ca89a8d0097b92758f90f1409cb16721b2c2 100644 (file)
@@ -18,8 +18,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "filter_rescale.h"
-
+#include <framework/mlt_filter.h>
 #include <framework/mlt_frame.h>
 
 #include <stdio.h>
@@ -295,7 +294,7 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame )
 /** Constructor for the filter.
 */
 
-mlt_filter filter_rescale_init( char *arg )
+mlt_filter filter_rescale_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
 {
        // Create a new scaler
        mlt_filter this = mlt_filter_new( );