From 3eb0c1164a91b31e7772bd68f9b14bd24e1e2cbb Mon Sep 17 00:00:00 2001 From: Sapphire Date: Thu, 31 Oct 2024 14:03:29 -0500 Subject: [PATCH] Add Vulkan Video encoder to dashboard settings --- dashboard/settings.cpp | 4 ++++ dashboard/settings.ui | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/dashboard/settings.cpp b/dashboard/settings.cpp index f265339f..45a9263f 100644 --- a/dashboard/settings.cpp +++ b/dashboard/settings.cpp @@ -46,6 +46,7 @@ const std::vector> encoder_ids{ {1, "nvenc"}, {2, "vaapi"}, {3, "x264"}, + {4, "vulkan"}, }; const std::vector> codec_ids{ @@ -73,6 +74,9 @@ const std::vector> compatible_combos{ {2, 3}, // x264 {3, 1}, + // vulkan + {4, 1}, + // {4, 2}, }; int encoder_id_from_string(std::string_view s) diff --git a/dashboard/settings.ui b/dashboard/settings.ui index 9e8ad1d5..2cfec739 100644 --- a/dashboard/settings.ui +++ b/dashboard/settings.ui @@ -301,6 +301,11 @@ x264 (software encoding) + + + vulkan (Vulkan Video) + +