Spelling: fix spelling of files in src/modules/

This commit is contained in:
Marius Messerschmidt
2023-11-18 15:40:05 +01:00
parent 40e977be31
commit 6d22a76946
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -151,7 +151,8 @@ 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 },
{ "intergrated", FF_GPU_TYPE_INTEGRATED }, // for backward compatibility only
{ "integrated", FF_GPU_TYPE_INTEGRATED },
{ "discrete", FF_GPU_TYPE_DISCRETE },
{},
});
@@ -196,7 +197,8 @@ 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 },
{ "intergrated", FF_GPU_TYPE_INTEGRATED }, // for backward compatibility only
{ "integrated", FF_GPU_TYPE_INTEGRATED },
{ "discrete", FF_GPU_TYPE_DISCRETE },
{},
});
@@ -235,7 +237,7 @@ void ffGenerateGPUJsonConfig(FFGPUOptions* options, yyjson_mut_doc* doc, yyjson_
yyjson_mut_obj_add_str(doc, module, "hideType", "none");
break;
case FF_GPU_TYPE_INTEGRATED:
yyjson_mut_obj_add_str(doc, module, "hideType", "intergrated");
yyjson_mut_obj_add_str(doc, module, "hideType", "integrated");
break;
case FF_GPU_TYPE_DISCRETE:
yyjson_mut_obj_add_str(doc, module, "hideType", "discrete");