fix(config): read an unusable encoding.xml EncoderPreset as the default #5

Merged
benvin merged 1 commits from benvin/fix-encoder-preset-fallback into main 2026-09-12 17:43:53 +10:00

1 Commits

Author SHA1 Message Date
unkin-agent 3b60289502 fix(config): read an unusable encoding.xml EncoderPreset as the default
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
An element the enum cannot parse throws, and the configuration manager
catches that and returns defaults, so one bad preset discarded every other
encoding setting.

- serialize EncoderPreset through a string surrogate in XML
- fall back to auto for an empty, unknown or out-of-range value
2026-09-12 16:26:01 +10:00