vulkan: fix output framebuffer creation size
authorMatthew Waters <matthew@centricular.com>
Thu, 4 Jul 2019 07:19:31 +0000 (17:19 +1000)
committerMatthew Waters <matthew@centricular.com>
Fri, 5 Jul 2019 00:47:45 +0000 (10:47 +1000)
We don't scale when color converting so there is no impact.

ext/vulkan/vkcolorconvert.c

index f617ee15e924adbc86e8bcf5043e8c8d3de8c41b..f2cf2d664627e40c8b8b512f71c664b88555d731 100644 (file)
@@ -1628,8 +1628,8 @@ _create_framebuffer (GstVulkanColorConvert * conv, guint n_views,
       .renderPass = render->render_pass,
       .attachmentCount = n_views,
       .pAttachments = views,
-      .width = GST_VIDEO_INFO_WIDTH (&render->in_info),
-      .height = GST_VIDEO_INFO_HEIGHT (&render->in_info),
+      .width = GST_VIDEO_INFO_WIDTH (&render->out_info),
+      .height = GST_VIDEO_INFO_HEIGHT (&render->out_info),
       .layers = 1
   };
   /* *INDENT-ON* */