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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6309>
This commit is contained in:
Chris Spencer 2024-02-22 12:22:34 +00:00 committed by GStreamer Marge Bot
parent 95bafc4934
commit 7701e9ffeb

View file

@ -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;