Index: media/formats/mp2t/es_parser_h264.cc |
diff --git a/media/formats/mp2t/es_parser_h264.cc b/media/formats/mp2t/es_parser_h264.cc |
index 1f214a066bad92a46643ac650abb3f43b3fffe1d..42d41454daa5d94f79145935b9976c218cbda72f 100644 |
--- a/media/formats/mp2t/es_parser_h264.cc |
+++ b/media/formats/mp2t/es_parser_h264.cc |
@@ -279,8 +279,9 @@ bool EsParserH264::UpdateVideoDecoderConfig(const H264SPS* sps) { |
return false; |
VideoDecoderConfig video_decoder_config( |
- kCodecH264, VIDEO_CODEC_PROFILE_UNKNOWN, PIXEL_FORMAT_YV12, coded_size, |
- visible_rect, natural_size, NULL, 0, false); |
+ kCodecH264, VIDEO_CODEC_PROFILE_UNKNOWN, PIXEL_FORMAT_YV12, |
+ COLOR_SPACE_HD_REC709, coded_size, visible_rect, natural_size, NULL, 0, |
+ false); |
if (!video_decoder_config.Matches(last_video_decoder_config_)) { |
DVLOG(1) << "Profile IDC: " << sps->profile_idc; |