]> git.sesse.net Git - mlt/blobdiff - src/modules/frei0r/transition_frei0r.c
Factor out some frame properties in transitions.
[mlt] / src / modules / frei0r / transition_frei0r.c
index 4e335b18e665f5517c81368e641ef6c45610304d..f36d1c4e4b244489508a2bb92b6c7b03332412dc 100644 (file)
@@ -31,19 +31,6 @@ static int transition_get_image( mlt_frame a_frame, uint8_t **image, mlt_image_f
 
        int invert = mlt_properties_get_int( properties, "invert" );
 
-       if ( mlt_properties_get( a_props, "rescale.interp" ) == NULL || !strcmp( mlt_properties_get( a_props, "rescale.interp" ), "none" ) )
-               mlt_properties_set( a_props, "rescale.interp", "nearest" );
-
-       // set consumer_aspect_ratio for a and b frame
-       if ( mlt_properties_get_double( a_props, "aspect_ratio" ) == 0.0 )
-               mlt_properties_set_double( a_props, "aspect_ratio", mlt_properties_get_double( a_props, "consumer_aspect_ratio" ) );
-       if ( mlt_properties_get_double( b_props, "aspect_ratio" ) == 0.0 )
-               mlt_properties_set_double( b_props, "aspect_ratio", mlt_properties_get_double( a_props, "consumer_aspect_ratio" ) );
-       mlt_properties_set_double( b_props, "consumer_aspect_ratio", mlt_properties_get_double( a_props, "consumer_aspect_ratio" ) );
-
-       if ( mlt_properties_get( b_props, "rescale.interp" ) == NULL || !strcmp( mlt_properties_get( b_props, "rescale.interp" ), "none" ) )
-               mlt_properties_set( b_props, "rescale.interp", mlt_properties_get( a_props, "rescale.interp" ) );
-
        uint8_t *images[]={NULL,NULL,NULL};
 
        *format = mlt_image_rgb24a;