fix race condition in vulkan encoder

This commit is contained in:
Patrick Nicolas
2026-04-02 14:39:48 +02:00
parent 706f76b18d
commit cd9b3fc031
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -56,6 +56,7 @@ class video_encoder_vulkan : public video_encoder
buffer_allocation host_buffer;
vk::DeviceSize copy_size;
bool idr = false;
std::atomic_bool busy = false;
};
std::array<slot_item, num_slots> slot_data;