Add Vulkan Video encoder to dashboard settings

This commit is contained in:
Sapphire
2024-11-01 11:26:04 +01:00
committed by Guillaume
parent 81eaebc217
commit 3eb0c1164a
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -46,6 +46,7 @@ const std::vector<std::pair<int, std::string>> encoder_ids{
{1, "nvenc"},
{2, "vaapi"},
{3, "x264"},
{4, "vulkan"},
};
const std::vector<std::pair<int, std::string>> codec_ids{
@@ -73,6 +74,9 @@ const std::vector<std::pair<int, int>> compatible_combos{
{2, 3},
// x264
{3, 1},
// vulkan
{4, 1},
// {4, 2},
};
int encoder_id_from_string(std::string_view s)