]> git.sesse.net Git - mlt/blobdiff - src/modules/core/producer_colour.c
src/framework/mlt_frame.c
[mlt] / src / modules / core / producer_colour.c
index 9f504f767c81aad8fd96811e705f2857929ee333..725570b971db25e7dbf831f131e44a5c2fee211c 100644 (file)
@@ -198,6 +198,7 @@ static int producer_get_image( mlt_frame frame, uint8_t **buffer, mlt_image_form
                // Now update properties so we free the copy after
                mlt_properties_set_data( properties, "image", copy, size, mlt_pool_release, NULL );
                mlt_properties_set_data( properties, "alpha", alpha, size >> 1, mlt_pool_release, NULL );
+               mlt_properties_set_double( properties, "aspect_ratio", mlt_properties_get_double( producer_props, "aspect_ratio" ) );
        }
 
        // Pass on the image