Codec (Linux): adds FFCodecShowOptions; code cleanup

This commit is contained in:
Carter Li
2026-06-01 18:02:15 +08:00
committed by 李通洲
parent 2c65eee00f
commit 35428606e7
4 changed files with 126 additions and 137 deletions
+19
View File
@@ -1914,6 +1914,25 @@
"type": "boolean",
"default": false
},
"showType": {
"description": "Which types of codecs to detect and show",
"type": "string",
"oneOf": [
{
"const": "both",
"description": "Show both decoders and encoders"
},
{
"const": "decoder",
"description": "Show only decoders"
},
{
"const": "encoder",
"description": "Show only encoders"
}
],
"default": "both"
},
"key": {
"$ref": "#/$defs/key"
},