Index: media/cdm/ppapi/ppapi_cdm_adapter.cc |
diff --git a/media/cdm/ppapi/ppapi_cdm_adapter.cc b/media/cdm/ppapi/ppapi_cdm_adapter.cc |
index d3a143a44aed157f8eee1474e0f6b74caacac6cd..dc3ad250e768487b4b26590abbdc7a7e75096374 100644 |
--- a/media/cdm/ppapi/ppapi_cdm_adapter.cc |
+++ b/media/cdm/ppapi/ppapi_cdm_adapter.cc |
@@ -196,6 +196,15 @@ cdm::VideoDecoderConfig::VideoCodecProfile PpVCProfileToCdmVCProfile( |
return cdm::VideoDecoderConfig::kH264ProfileHigh422; |
case PP_VIDEOCODECPROFILE_H264_HIGH_444_PREDICTIVE: |
return cdm::VideoDecoderConfig::kH264ProfileHigh444Predictive; |
+ // TODO(servolk): See crbug.com/592074. We'll need to update this code to |
+ // handle different VP9 profiles properly after adding VP9 profiles in |
+ // media/cdm/api/content_decryption_module.h in a separate CL. |
+ // For now return kProfileNotNeeded to avoid breaking unit tests. |
+ case PP_VIDEOCODECPROFILE_VP9_PROFILE0: |
+ case PP_VIDEOCODECPROFILE_VP9_PROFILE1: |
+ case PP_VIDEOCODECPROFILE_VP9_PROFILE2: |
+ case PP_VIDEOCODECPROFILE_VP9_PROFILE3: |
+ return cdm::VideoDecoderConfig::kProfileNotNeeded; |
default: |
return cdm::VideoDecoderConfig::kUnknownVideoCodecProfile; |
} |