vkencoder-private: remove duplicated structure definition

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7354>
This commit is contained in:
Víctor Manuel Jáquez Leal 2024-08-14 10:45:43 +02:00 committed by GStreamer Marge Bot
parent 591eb2b527
commit 2b52b07a2f

View file

@ -659,13 +659,6 @@ gst_vulkan_encoder_start (GstVulkanEncoder * self,
return FALSE;
}
priv->enc_caps = (VkVideoEncodeCapabilitiesKHR) {
/* *INDENT-OFF* */
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHR,
.pNext = &priv->caps.codec,
/* *INDENT-ON* */
};
priv->profile = *profile;
priv->profile.usage.encode = (VkVideoEncodeUsageInfoKHR) {