UI: Add NVENC AV1 to simple output mode
This commit is contained in:
parent
53f4627b0c
commit
614bf960d9
6 changed files with 39 additions and 20 deletions
|
|
@ -1250,6 +1250,8 @@ static QString get_simple_fallback(const QString &enc)
|
|||
{
|
||||
if (enc == SIMPLE_ENCODER_NVENC_HEVC)
|
||||
return SIMPLE_ENCODER_NVENC;
|
||||
if (enc == SIMPLE_ENCODER_NVENC_AV1)
|
||||
return SIMPLE_ENCODER_NVENC;
|
||||
if (enc == SIMPLE_ENCODER_AMD_HEVC)
|
||||
return SIMPLE_ENCODER_AMD;
|
||||
return SIMPLE_ENCODER_X264;
|
||||
|
|
@ -1385,6 +1387,10 @@ void OBSBasicSettings::ResetEncoders(bool streamOnly)
|
|||
ui->simpleOutStrEncoder->addItem(
|
||||
ENCODER_STR("Hardware.NVENC.H264"),
|
||||
QString(SIMPLE_ENCODER_NVENC));
|
||||
if (service_supports_encoder(codecs, "jim_av1_nvenc"))
|
||||
ui->simpleOutStrEncoder->addItem(
|
||||
ENCODER_STR("Hardware.NVENC.AV1"),
|
||||
QString(SIMPLE_ENCODER_NVENC));
|
||||
#ifdef ENABLE_HEVC
|
||||
if (service_supports_encoder(codecs, "h265_texture_amf"))
|
||||
ui->simpleOutStrEncoder->addItem(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue