6a9f25c8ea
When enumerating the list of encoders offered by VideoToolbox, there's no reason we can't use the returned ID, which allows us to remove the hardware/software encoder specific functions. At the same time, this does add a slight complexity when localizing the encoder name, so we can fall back to the OS-provided encoder name if there's not a match.