X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_frame.c;h=e3e4f3f4ae25146ecc444aca1fca25884a3346a5;hb=c3ed1af8d2f360901ec37c4f5862fd9d60a0ddcd;hp=48373607276a231a7d6901dc71d259ec279bd4c6;hpb=d5132b032c1fe4b26b785eddf4789702a44c3bca;p=melted diff --git a/src/framework/mlt_frame.c b/src/framework/mlt_frame.c index 4837360..e3e4f3f 100644 --- a/src/framework/mlt_frame.c +++ b/src/framework/mlt_frame.c @@ -228,6 +228,7 @@ int mlt_frame_get_image( mlt_frame this, uint8_t **buffer, mlt_image_format *for mlt_properties_set_data( properties, "image", *buffer, *width * *height * 2, NULL, NULL ); mlt_properties_set_int( properties, "width", *width ); mlt_properties_set_int( properties, "height", *height ); + mlt_properties_set_double( properties, "aspect_ratio", mlt_frame_get_aspect_ratio( test_frame ) ); mlt_properties_set( properties, "rescale.interp", "none" ); mlt_properties_set( properties, "scale", "off" ); }