int owidth = *width;
int oheight = *height;
char *interps = mlt_properties_get( properties, "rescale.interp" );
+ int wanted_format = *format;
// Default from the scaler if not specifed on the frame
if ( interps == NULL )
*width = owidth;
*height = oheight;
}
+ else if ( *format == mlt_image_rgb24 && wanted_format == mlt_image_rgb24 )
+ {
+ // Call the local scaler
+ scaler_method( this, image, *format, mlt_image_rgb24, iwidth, iheight, owidth, oheight );
+
+ // Return the output
+ *width = owidth;
+ *height = oheight;
+ }
else if ( *format == mlt_image_rgb24 || *format == mlt_image_rgb24a )
{
// Call the local scaler
void *mlt_create_producer( char *id, void *arg )
{
+ g_type_init( );
if ( !strcmp( id, "pixbuf" ) )
return producer_pixbuf_init( arg );
else if ( !strcmp( id, "pango" ) )
void *mlt_create_filter( char *id, void *arg )
{
+ g_type_init( );
if ( !strcmp( id, "gtkrescale" ) )
return filter_rescale_init( arg );
return NULL;