Add option to allow HEVC usage on older Intel GPUs without low-power encoding

This commit is contained in:
Cameron Gutman
2024-02-26 21:42:52 -06:00
parent 15272fb47e
commit 4252f5df7c
5 changed files with 35 additions and 1 deletions

View File

@@ -763,7 +763,9 @@ namespace video {
{ "profile"s, (int) qsv::profile_hevc_e::main_10 },
},
// Fallback options
{},
{
{ "low_power"s, []() { return config::video.qsv.qsv_slow_hevc ? 0 : 1; } },
},
std::nullopt, // QP rate control fallback
"hevc_qsv"s,
},