Config: remove misspelled 'integrated'

This commit is contained in:
Marius Messerschmidt
2023-11-18 16:46:08 +01:00
parent 3d44a1befe
commit 7befd71069
3 changed files with 2 additions and 3 deletions
-2
View File
@@ -151,7 +151,6 @@ bool ffParseGPUCommandOptions(FFGPUOptions* options, const char* key, const char
{
options->hideType = (FFGPUType) ffOptionParseEnum(key, value, (FFKeyValuePair[]) {
{ "none", FF_GPU_TYPE_UNKNOWN },
{ "intergrated", FF_GPU_TYPE_INTEGRATED }, // for backward compatibility only
{ "integrated", FF_GPU_TYPE_INTEGRATED },
{ "discrete", FF_GPU_TYPE_DISCRETE },
{},
@@ -197,7 +196,6 @@ void ffParseGPUJsonObject(FFGPUOptions* options, yyjson_val* module)
int value;
const char* error = ffJsonConfigParseEnum(val, &value, (FFKeyValuePair[]) {
{ "none", FF_GPU_TYPE_UNKNOWN },
{ "intergrated", FF_GPU_TYPE_INTEGRATED }, // for backward compatibility only
{ "integrated", FF_GPU_TYPE_INTEGRATED },
{ "discrete", FF_GPU_TYPE_DISCRETE },
{},