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

Unified Diff: media/formats/webm/webm_video_client.cc

Issue 1221903003: Change the video color space default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable the JPEG blackwhite test Created 5 years, 5 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: media/formats/webm/webm_video_client.cc
diff --git a/media/formats/webm/webm_video_client.cc b/media/formats/webm/webm_video_client.cc
index 07f0bfbc17b92a8eb756c949d98d98f2bdf7c095..43d69228f5c5b891c5a546c05954e6ccdef2791b 100644
--- a/media/formats/webm/webm_video_client.cc
+++ b/media/formats/webm/webm_video_client.cc
@@ -96,7 +96,7 @@ bool WebMVideoClient::InitializeConfig(
}
config->Initialize(video_codec, profile, format,
- VideoFrame::COLOR_SPACE_UNSPECIFIED, coded_size,
+ VideoDecoderConfig::DefaultMseColorSpace(), coded_size,
visible_rect, natural_size, extra_data, extra_data_size,
is_encrypted, true);
return config->IsValidConfig();

Powered by Google App Engine
This is Rietveld 408576698