vkh265dec: fix resource info structure when layered DPB

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6534>
This commit is contained in:
Víctor Manuel Jáquez Leal 2024-03-18 19:42:50 +01:00 committed by GStreamer Marge Bot
parent 6f7d62eb73
commit 85a78f56dc

View file

@ -1397,7 +1397,7 @@ _fill_ref_slot (GstVulkanH265Decoder * self, GstH265Picture * picture,
.sType = VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR,
.codedOffset = { self->x, self->y },
.codedExtent = { self->width, self->height },
.baseArrayLayer = self->layered_dpb ? pic->slot_idx : 0,
.baseArrayLayer = self->decoder->layered_dpb ? pic->slot_idx : 0,
.imageViewBinding = pic->base.img_view_ref->view,
};