Use a single thread for all encoder async send

This commit is contained in:
Patrick Nicolas
2024-08-22 22:56:51 +02:00
parent 0133dd67ca
commit 982a2557ef
8 changed files with 134 additions and 64 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ public:
~VideoEncoderNvenc();
void PresentImage(yuv_converter & src_yuv, vk::raii::CommandBuffer & cmd_buf) override;
void Encode(bool idr, std::chrono::steady_clock::time_point pts) override;
std::optional<data> encode(bool idr, std::chrono::steady_clock::time_point pts) override;
static std::array<int, 2> get_max_size(video_codec);
};