mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 15:36:35 +00:00
vkencoder-private: fix how to get bitstream buffer size
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7974>
This commit is contained in:
parent
7a9bd2c9d4
commit
a12daaca28
1 changed files with 1 additions and 1 deletions
|
@ -1258,7 +1258,7 @@ gst_vulkan_encoder_encode (GstVulkanEncoder * self,
|
|||
.flags = 0x0,
|
||||
.dstBuffer = ((GstVulkanBufferMemory *) mem)->buffer,
|
||||
.dstBufferOffset = 0,
|
||||
.dstBufferRange = ((GstVulkanBufferMemory *) mem)->barrier.size, //FIXME is it the correct value ?
|
||||
.dstBufferRange = gst_memory_get_sizes (mem, NULL, NULL),
|
||||
.srcPictureResource = (VkVideoPictureResourceInfoKHR) { // SPEC: this should be separate
|
||||
.sType = VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR,
|
||||
.pNext = NULL,
|
||||
|
|
Loading…
Reference in a new issue