X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fgtk2%2Ffilter_rescale.c;h=e3b6d17a8f81a3d64978f1ad5c2181548dbfb821;hb=9c7d043e0c13911fc12817e434363604cbd1d8c6;hp=774c0d682f515c6ac9b073cf5df2387a41c085d1;hpb=bf3264b9e340ba5c11cbf59835a8af3db94e0cc2;p=melted diff --git a/src/modules/gtk2/filter_rescale.c b/src/modules/gtk2/filter_rescale.c index 774c0d6..e3b6d17 100644 --- a/src/modules/gtk2/filter_rescale.c +++ b/src/modules/gtk2/filter_rescale.c @@ -18,9 +18,9 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "filter_rescale.h" #include "pixops.h" +#include #include #include @@ -135,10 +135,10 @@ static int filter_scale( mlt_frame this, uint8_t **image, mlt_image_format iform /** Constructor for the filter. */ -mlt_filter filter_rescale_init( char *arg ) +mlt_filter filter_rescale_init( mlt_profile profile, char *arg ) { // Create a new scaler - mlt_filter this = mlt_factory_filter( "rescale", arg ); + mlt_filter this = mlt_factory_filter( profile, "rescale", arg ); // If successful, then initialise it if ( this != NULL )