X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsdl%2Fconsumer_sdl_preview.c;h=eaaac2eb769636cdce631e569c4e7d597c9ed720;hb=1f6faabf5ef11e6321d186772d88fb6958cdd057;hp=4e55bd6f99f7c382c116eee3e2558433834c01aa;hpb=833934cc90094c909078f709532e6fe6f8f13b60;p=melted diff --git a/src/modules/sdl/consumer_sdl_preview.c b/src/modules/sdl/consumer_sdl_preview.c index 4e55bd6..eaaac2e 100644 --- a/src/modules/sdl/consumer_sdl_preview.c +++ b/src/modules/sdl/consumer_sdl_preview.c @@ -232,6 +232,10 @@ static void *consumer_thread( void *arg ) mlt_properties_set_int( still, "width", mlt_properties_get_int( properties, "width" ) ); mlt_properties_set_int( play, "height", mlt_properties_get_int( properties, "height" ) ); mlt_properties_set_int( still, "height", mlt_properties_get_int( properties, "height" ) ); + mlt_properties_set_double( play, "aspect_ratio", mlt_properties_get_double( properties, "aspect_ratio" ) ); + mlt_properties_set_double( still, "aspect_ratio", mlt_properties_get_double( properties, "aspect_ratio" ) ); + mlt_properties_set_double( play, "display_ratio", mlt_properties_get_double( properties, "display_ratio" ) ); + mlt_properties_set_double( still, "display_ratio", mlt_properties_get_double( properties, "display_ratio" ) ); mlt_properties_set_int( play, "progressive", progressive ); mlt_properties_set_int( still, "progressive", progressive );