GPU: fix --gpu-hide-type doesn't work

Fix #1098
This commit is contained in:
Carter Li
2024-07-15 18:34:43 +08:00
parent 89ce598800
commit 801bd7c879
+1
View File
@@ -177,6 +177,7 @@ bool ffParseGPUCommandOptions(FFGPUOptions* options, const char* key, const char
{ "discrete", FF_GPU_TYPE_DISCRETE },
{},
});
return true;
}
if (ffPercentParseCommandOptions(key, subKey, value, &options->percent))