]> git.sesse.net Git - casparcg/commitdiff
2.0.0: flash_producer: Use square-pixel dimensions.
authorronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Wed, 9 Nov 2011 10:03:06 +0000 (10:03 +0000)
committerronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Wed, 9 Nov 2011 10:03:06 +0000 (10:03 +0000)
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches/2.0.0.2@1547 362d55ac-95cf-4e76-9f9a-cbaa9c17b72d

modules/flash/producer/flash_producer.cpp

index aa03e29807fa4c7db71db952e7c9828c25b8a921..67a556423fc72cae525bf742bed4f0ed157facf0 100644 (file)
@@ -136,8 +136,8 @@ template_host get_template_host(const core::video_format_desc& desc)
                }\r
        }\r
 \r
-       template_host.width = desc.width;\r
-       template_host.height = desc.height;\r
+       template_host.width = desc.square_width;\r
+       template_host.height = desc.square_height;\r
        return template_host;\r
 }\r
 \r