vkencoder-private: fix array layer for layered DPB
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7197>
This commit is contained in:
parent
88a302a3c9
commit
0af329d505
@ -1182,7 +1182,7 @@ gst_vulkan_encoder_encode (GstVulkanEncoder * self, GstVideoInfo * info,
|
||||
.width = GST_VIDEO_INFO_WIDTH (info),
|
||||
.height = GST_VIDEO_INFO_HEIGHT (info),
|
||||
},
|
||||
.baseArrayLayer = 0,
|
||||
.baseArrayLayer = priv->layered_dpb ? slot_index : 0,
|
||||
.imageViewBinding = pic->dpb_view->view,
|
||||
};
|
||||
pic->dpb_slot = (VkVideoReferenceSlotInfoKHR) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user