git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1089
d19143bc-622f-0410-bfdd-
b5b2a6649095
// Retrieve the aspect ratio
double aspect_ratio = mlt_deque_pop_back_double( MLT_FRAME_IMAGE_STACK( this ) );
+ // Correct Width/height if necessary
+ if ( *width == 0 || *height == 0 )
+ {
+ *width = mlt_properties_get_int( properties, "normalised_width" );
+ *height = mlt_properties_get_int( properties, "normalised_height" );
+ }
+
// Assign requested width/height from our subordinate
int owidth = *width;
int oheight = *height;