Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: media/base/video_decoder_config.cc

Issue 2640113004: Introduce Dolby Vision video codec and Demuxer support (Closed)
Patch Set: fix build break on Android Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/video_codecs_unittest.cc ('k') | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_decoder_config.cc
diff --git a/media/base/video_decoder_config.cc b/media/base/video_decoder_config.cc
index 6e0c61fa372aa48dfbbcf19434a8bc6907884afc..5db22234e09a65897899b1469f8424df53dea732 100644
--- a/media/base/video_decoder_config.cc
+++ b/media/base/video_decoder_config.cc
@@ -40,6 +40,11 @@ VideoCodec VideoCodecProfileToVideoCodec(VideoCodecProfile profile) {
case VP9PROFILE_PROFILE2:
case VP9PROFILE_PROFILE3:
return kCodecVP9;
+ case DOLBYVISION_PROFILE0:
+ case DOLBYVISION_PROFILE4:
+ case DOLBYVISION_PROFILE5:
+ case DOLBYVISION_PROFILE7:
+ return kCodecDolbyVision;
}
NOTREACHED();
return kUnknownVideoCodec;
« no previous file with comments | « media/base/video_codecs_unittest.cc ('k') | media/filters/ffmpeg_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698