From 7701e9ffeb53fc34fe315199f79aa0c4049906cd Mon Sep 17 00:00:00 2001 From: Chris Spencer Date: Thu, 22 Feb 2024 12:22:34 +0000 Subject: [PATCH] vulkan/operation: add missing unlock gst_vulkan_operation_add_dependency_frame does not release its lock if support for VK_KHR_timeline_semaphore/VK_KHR_synchronization2 is compiled in, but not supported by the driver. Part-of: --- .../gst-plugins-bad/gst-libs/gst/vulkan/gstvkoperation.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkoperation.c b/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkoperation.c index 3f65abc497..4fc54bea31 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkoperation.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkoperation.c @@ -1146,6 +1146,8 @@ gst_vulkan_operation_add_dependency_frame (GstVulkanOperation * self, return TRUE; } #endif /* synchronization2 */ + + GST_OBJECT_UNLOCK (self); #endif /* timeline semaphore */ return TRUE;