Add Vulkan Video encoder to dashboard settings
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -301,6 +301,11 @@
|
||||
<string>x264 (software encoding)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>vulkan (Vulkan Video)</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
|
||||
Reference in New Issue
Block a user