mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-24 14:19:11 -05:00
UI: Use new NVENC encoder ids
This commit is contained in:
@@ -1606,8 +1606,9 @@ bool OBSBasicSettings::ServiceAndACodecCompatible()
|
||||
/* we really need a way to find fallbacks in a less hardcoded way. maybe. */
|
||||
static QString get_adv_fallback(const QString &enc)
|
||||
{
|
||||
if (enc == "jim_hevc_nvenc" || enc == "jim_av1_nvenc")
|
||||
return "jim_nvenc";
|
||||
if (enc == "obs_nvenc_hevc_tex" || enc == "obs_nvenc_av1_tex" ||
|
||||
enc == "jim_hevc_nvenc" || enc == "jim_av1_nvenc")
|
||||
return "obs_nvenc_h264_tex";
|
||||
if (enc == "h265_texture_amf" || enc == "av1_texture_amf")
|
||||
return "h264_texture_amf";
|
||||
if (enc == "com.apple.videotoolbox.videoencoder.ave.hevc")
|
||||
@@ -1863,7 +1864,7 @@ void OBSBasicSettings::ResetEncoders(bool streamOnly)
|
||||
ui->simpleOutStrEncoder->addItem(
|
||||
ENCODER_STR("Hardware.NVENC.H264"),
|
||||
QString(SIMPLE_ENCODER_NVENC));
|
||||
if (service_supports_encoder(vcodecs, "jim_av1_nvenc"))
|
||||
if (service_supports_encoder(vcodecs, "obs_nvenc_av1_tex"))
|
||||
ui->simpleOutStrEncoder->addItem(
|
||||
ENCODER_STR("Hardware.NVENC.AV1"),
|
||||
QString(SIMPLE_ENCODER_NVENC_AV1));
|
||||
|
||||
Reference in New Issue
Block a user