Big simplification decoder initialization.

With this change, there are now new prioritization rules when deciding
which backend to attempt to load from.

  * Backends are iterated in the order they are defined in the config.

  * If the encoding format is set to ma_encoding_format_unknown, all
    backends will be attempted in regular prioritization order.

  * If the encoding format is set to something other than
    ma_encoding_format_unknown, that is a specific format is being
    requested, only backends that report support for that format or
    ma_encoding_format_unknown will attempted.

  * File extensions are no longer used as a hint for prioritization.
    The encoding format in ma_decoder_config should be used to
    accelerate backend selection instead.
This commit is contained in:
David Reid
2024-02-29 20:29:42 +10:00
parent 7d8e8526bc
commit 99c5a9c629
+550 -1109
View File
File diff suppressed because it is too large Load Diff