diff --git a/src/citra_qt/dumping/option_set_dialog.cpp b/src/citra_qt/dumping/option_set_dialog.cpp index f6d6e4af7..f166973cf 100644 --- a/src/citra_qt/dumping/option_set_dialog.cpp +++ b/src/citra_qt/dumping/option_set_dialog.cpp @@ -27,7 +27,7 @@ static const std::unordered_map TypeNameMap{{ {AV_OPT_TYPE_STRING, QT_TR_NOOP("string")}, {AV_OPT_TYPE_DICT, QT_TR_NOOP("dictionary")}, {AV_OPT_TYPE_VIDEO_RATE, QT_TR_NOOP("video rate")}, - {AV_OPT_TYPE_CHANNEL_LAYOUT, QT_TR_NOOP("channel layout")}, + {AV_OPT_TYPE_CHLAYOUT, QT_TR_NOOP("channel layout")}, }}; static const std::unordered_map TypeDescriptionMap{{ @@ -39,7 +39,7 @@ static const std::unordered_map TypeDescriptionMap{{ {AV_OPT_TYPE_DICT, QT_TR_NOOP("Comma-splitted list of <key>=<value>. Do not put spaces.")}, {AV_OPT_TYPE_VIDEO_RATE, QT_TR_NOOP("<num>/<den>, or preset values like 'pal'.")}, - {AV_OPT_TYPE_CHANNEL_LAYOUT, QT_TR_NOOP("Hexadecimal channel layout mask starting with '0x'.")}, + {AV_OPT_TYPE_CHLAYOUT, QT_TR_NOOP("Hexadecimal channel layout mask starting with '0x'.")}, }}; /// Get the preset values of an option. returns {display value, real value} diff --git a/src/core/dumping/ffmpeg_backend.cpp b/src/core/dumping/ffmpeg_backend.cpp index b38116ed3..75f6236c1 100644 --- a/src/core/dumping/ffmpeg_backend.cpp +++ b/src/core/dumping/ffmpeg_backend.cpp @@ -956,7 +956,7 @@ std::string FormatDefaultValue(const AVOption* option, case AV_OPT_TYPE_VIDEO_RATE: { return ToStdString(option->default_val.str); } - case AV_OPT_TYPE_CHANNEL_LAYOUT: { + case AV_OPT_TYPE_CHLAYOUT: { return fmt::format("{:#x}", option->default_val.i64); } default: