From d2aa3829b8c965f7687d49c05d2aebf5849bc8af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Mon, 18 Mar 2024 20:50:56 +0100 Subject: [PATCH] vkh265dec: add missing VPS parameter and fix coded size Part-of: --- subprojects/gst-plugins-bad/ext/vulkan/vkh265dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/ext/vulkan/vkh265dec.c b/subprojects/gst-plugins-bad/ext/vulkan/vkh265dec.c index 93dbbb933a..2efcff3974 100644 --- a/subprojects/gst-plugins-bad/ext/vulkan/vkh265dec.c +++ b/subprojects/gst-plugins-bad/ext/vulkan/vkh265dec.c @@ -1307,6 +1307,7 @@ _update_parameters (GstVulkanH265Decoder * self, const GstH265PPS * pps) /* .pNext = */ .maxStdSPSCount = params.stdSPSCount, .maxStdPPSCount = params.stdPPSCount, + .maxStdVPSCount = params.stdVPSCount, .pParametersAddInfo = ¶ms, } }; @@ -1387,7 +1388,7 @@ _fill_ref_slot (GstVulkanH265Decoder * self, GstH265Picture * picture, *res = (VkVideoPictureResourceInfoKHR) { .sType = VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR, .codedOffset = { self->x, self->y }, - .codedExtent = { self->width, self->height }, + .codedExtent = { self->coded_width, self->coded_height }, .baseArrayLayer = self->decoder->layered_dpb ? pic->slot_idx : 0, .imageViewBinding = pic->base.img_view_ref->view, };