Search for D3D11_DECODER_ENCRYPTION_HW_CENC decoder config for encrypted video

- If the video config is encrypted, look for D3D11_DECODER_ENCRYPTION_HW_CENC.
- It used to find a decoder config and set it to guidConfigBitstreamEncryption,
  but this isn't correct. There are other fields in D3D11_VIDEO_DECODER_CONFIG
  that is specific to the config.

Change-Id: I26879eb9282a8be05fd6f579d77ea52311e62733
Reviewed-by: Frank Liberato <>
Commit-Queue: Rintaro Kuroiwa <>
Cr-Commit-Position: refs/heads/master@{#622169}
1 file changed