Fallback to native implementations #154
-
Would it be possible to automatically fallback to native codecs in the library on Windows computers that does not have the Media Feature Pack installed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I'm not sure I fully understand the ask. You can basically achieve that today by registering the additional native codecs with By default, all Microsoft-published WIC codecs will be registered first on Windows, before the |
Beta Was this translation helpful? Give feedback.
That's correct. The WIC codecs are treated as plugins to the pipeline -- they're just registered automatically for convenience.
UseWicCodecs
enumerates the codecs installed in WIC (through the registry), so there's no need to do your own check for installation of the media pack.For reference, the codec collection passed to the
ConfigureCodecs
action will contain anything registered byUseWicCodecs
. You are free to examine that collection and make whatever changes you like before the collection is locked in by the pipeline after the action completes.