]> git.sesse.net Git - mlt/commitdiff
aspect ratio fix for test card
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Sat, 18 Sep 2004 14:00:21 +0000 (14:00 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Sat, 18 Sep 2004 14:00:21 +0000 (14:00 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@426 d19143bc-622f-0410-bfdd-b5b2a6649095

src/framework/mlt_frame.c

index 48373607276a231a7d6901dc71d259ec279bd4c6..e3e4f3f4ae25146ecc444aca1fca25884a3346a5 100644 (file)
@@ -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" );
                }