Index: gpu/ipc/common/gpu_info_struct_traits.cc |
diff --git a/gpu/ipc/common/gpu_info_struct_traits.cc b/gpu/ipc/common/gpu_info_struct_traits.cc |
index b132575c9d186532e39f5b21c3adaacb684d5bdb..f251c11af9152bcf13648c523062843d80c44ed3 100644 |
--- a/gpu/ipc/common/gpu_info_struct_traits.cc |
+++ b/gpu/ipc/common/gpu_info_struct_traits.cc |
@@ -106,6 +106,11 @@ EnumTraits<gpu::mojom::VideoCodecProfile, gpu::VideoCodecProfile>::ToMojom( |
return gpu::mojom::VideoCodecProfile::HEVCPROFILE_MAIN10; |
case gpu::VideoCodecProfile::HEVCPROFILE_MAIN_STILL_PICTURE: |
return gpu::mojom::VideoCodecProfile::HEVCPROFILE_MAIN_STILL_PICTURE; |
+ case gpu::VideoCodecProfile::DOLBYVISION_PROFILE0: |
+ case gpu::VideoCodecProfile::DOLBYVISION_PROFILE4: |
+ case gpu::VideoCodecProfile::DOLBYVISION_PROFILE5: |
+ case gpu::VideoCodecProfile::DOLBYVISION_PROFILE7: |
wolenetz
2017/01/24 21:52:24
To be clear, why NOTREACHED() here versus HEVC? Is
erickung1
2017/02/03 18:18:31
Done.
|
+ NOTREACHED(); |
} |
NOTREACHED() << "Invalid VideoCodecProfile:" << video_codec_profile; |
return gpu::mojom::VideoCodecProfile::VIDEO_CODEC_PROFILE_UNKNOWN; |