X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2Fproducer_consumer.c;h=7b36f2138de5b4be487920a2579d61b36283c86c;hb=b7ec88d437f7eca013393fa3bf4798956a2fe7fd;hp=280705d6097d41c83c8857a29f821c280eb68919;hpb=abee10b2c839bf3e325b39e7117c2b47c8a49a17;p=melted diff --git a/src/modules/core/producer_consumer.c b/src/modules/core/producer_consumer.c index 280705d..7b36f21 100644 --- a/src/modules/core/producer_consumer.c +++ b/src/modules/core/producer_consumer.c @@ -161,8 +161,11 @@ static int get_frame( mlt_producer this, mlt_frame_ptr frame, int index ) // Inform the normalizers about our video properties mlt_properties frame_props = MLT_FRAME_PROPERTIES( *frame ); mlt_properties_set_double( frame_props, "aspect_ratio", mlt_profile_sar( cx->profile ) ); - mlt_properties_set_double( frame_props, "width", cx->profile->width ); - mlt_properties_set_double( frame_props, "height", cx->profile->height ); + mlt_properties_set_int( frame_props, "width", cx->profile->width ); + mlt_properties_set_int( frame_props, "height", cx->profile->height ); + mlt_properties_set_int( frame_props, "real_width", cx->profile->width ); + mlt_properties_set_int( frame_props, "real_height", cx->profile->height ); + mlt_properties_set_int( frame_props, "progressive", cx->profile->progressive ); } // Calculate the next timecode