This PR removes the hw: enum variants, making the enum only for the base codec variants.
If a codec is prefixed with hw:, it will be caught in the _missing_ hook, we will try to know if it can be one of the base variants or not, if it is a base variant we will set the _hw_acc to True for this codec variant, if not we will fall back the the super()._missing_ and print the appropriate error message.
This PR removes the
hw:
enum variants, making the enum only for the base codec variants.If a codec is prefixed with
hw:
, it will be caught in the_missing_
hook, we will try to know if it can be one of the base variants or not, if it is a base variant we will set the_hw_acc
toTrue
for this codec variant, if not we will fall back the thesuper()._missing_
and print the appropriate error message.