From 801bd7c8793eb5124cd829a6768c25f54bafe423 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Mon, 15 Jul 2024 18:34:43 +0800 Subject: [PATCH] GPU: fix `--gpu-hide-type` doesn't work Fix #1098 --- src/modules/gpu/gpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/gpu/gpu.c b/src/modules/gpu/gpu.c index ddcfe7e06..d7cecf516 100644 --- a/src/modules/gpu/gpu.c +++ b/src/modules/gpu/gpu.c @@ -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))