X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fgtk2%2Ffilter_rescale.c;h=14f3f28d4924abbb33575757d2bb48fd0d7132a3;hb=4bab66b2e702520181e5019632a921615557bf18;hp=e1ebb7a41b8006b576bf7e6a2af3f41fda93160e;hpb=263e253a65f403b90eecf0b46b692e326e970b29;p=melted diff --git a/src/modules/gtk2/filter_rescale.c b/src/modules/gtk2/filter_rescale.c index e1ebb7a..14f3f28 100644 --- a/src/modules/gtk2/filter_rescale.c +++ b/src/modules/gtk2/filter_rescale.c @@ -32,7 +32,7 @@ static int filter_scale( mlt_frame this, uint8_t **image, mlt_image_format iformat, mlt_image_format oformat, int iwidth, int iheight, int owidth, int oheight ) { // Get the properties - mlt_properties properties = mlt_frame_properties( this ); + mlt_properties properties = MLT_FRAME_PROPERTIES( this ); // Get the requested interpolation method char *interps = mlt_properties_get( properties, "rescale.interp" ); @@ -144,7 +144,7 @@ mlt_filter filter_rescale_init( char *arg ) if ( this != NULL ) { // Get the properties - mlt_properties properties = mlt_filter_properties( this ); + mlt_properties properties = MLT_FILTER_PROPERTIES( this ); // Set the inerpolation mlt_properties_set( properties, "interpolation", arg == NULL ? "bilinear" : arg );