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

Unified Diff: ui/gfx/color_transform.cc

Issue 2333663003: Add color metadata info to VideoDecoderConfig. (Closed)
Patch Set: Fixed typo (RBG -> RGB) Created 4 years, 3 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
Index: ui/gfx/color_transform.cc
diff --git a/ui/gfx/color_transform.cc b/ui/gfx/color_transform.cc
index fe0f661535bcb2e51ef3be25ee81efe84cc93a9f..70abb97da868e5c4be4706341d371672ac324a04 100644
--- a/ui/gfx/color_transform.cc
+++ b/ui/gfx/color_transform.cc
@@ -555,8 +555,10 @@ Transform GetRangeAdjustMatrix(ColorSpace::RangeID range,
ColorSpace::MatrixID matrix) {
switch (range) {
case ColorSpace::RangeID::FULL:
+ case ColorSpace::RangeID::UNSPECIFIED:
return Transform();
+ case ColorSpace::RangeID::DERIVED:
case ColorSpace::RangeID::LIMITED:
break;
}

Powered by Google App Engine
This is Rietveld 408576698