Index: content/renderer/pepper/pepper_video_decoder_host.cc |
diff --git a/content/renderer/pepper/pepper_video_decoder_host.cc b/content/renderer/pepper/pepper_video_decoder_host.cc |
index 4fc2d2c8b6e480fd887ea4a1a1a5dc41d76fe712..fdb5cc33485025b55efd3cdbd16b999fb5a77f57 100644 |
--- a/content/renderer/pepper/pepper_video_decoder_host.cc |
+++ b/content/renderer/pepper/pepper_video_decoder_host.cc |
@@ -53,10 +53,10 @@ media::VideoCodecProfile PepperToMediaVideoProfile(PP_VideoProfile profile) { |
return media::H264PROFILE_STEREOHIGH; |
case PP_VIDEOPROFILE_H264MULTIVIEWHIGH: |
return media::H264PROFILE_MULTIVIEWHIGH; |
- case PP_VIDEOPROFILE_VP8MAIN: |
- return media::VP8PROFILE_MAIN; |
- case PP_VIDEOPROFILE_VP9MAIN: |
- return media::VP9PROFILE_MAIN; |
+ case PP_VIDEOPROFILE_VP8_ANY: |
+ return media::VP8PROFILE_ANY; |
+ case PP_VIDEOPROFILE_VP9_ANY: |
+ return media::VP9PROFILE_ANY; |
// No default case, to catch unhandled PP_VideoProfile values. |
} |