From 16e6decebf00f1abacf5219cba49132b894276d2 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Mon, 12 Jan 2026 09:34:25 +0800 Subject: [PATCH] Logo: general fixes 1. updates JSON schema 2. removes unused fields 3. runs tests in CI --- doc/json_schema.json | 14 ++++++++++++++ presets/ci.jsonc | 1 + src/modules/logo/option.h | 1 - 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/json_schema.json b/doc/json_schema.json index b226d5705..92e885471 100644 --- a/doc/json_schema.json +++ b/doc/json_schema.json @@ -3202,6 +3202,20 @@ } } }, + { + "title": "Logo", + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "const": "logo", + "description": "Query built-in logo for JSON output" + }, + "condition": { + "$ref": "#/$defs/conditions" + } + } + }, { "title": "Media", "type": "object", diff --git a/presets/ci.jsonc b/presets/ci.jsonc index 4203ff7c5..d9946454f 100644 --- a/presets/ci.jsonc +++ b/presets/ci.jsonc @@ -109,6 +109,7 @@ }, "tpm", "version", + "logo", "break", "colors" ] diff --git a/src/modules/logo/option.h b/src/modules/logo/option.h index 0abfff55d..92e254e40 100644 --- a/src/modules/logo/option.h +++ b/src/modules/logo/option.h @@ -4,7 +4,6 @@ typedef struct FFLogoOptions { - FFModuleArgs moduleArgs; } FFLogoOptions; static_assert(sizeof(FFLogoOptions) <= FF_OPTION_MAX_SIZE, "FFLogoOptions size exceeds maximum allowed size");