Index: media/gpu/v4l2_video_decode_accelerator.cc |
diff --git a/media/gpu/v4l2_video_decode_accelerator.cc b/media/gpu/v4l2_video_decode_accelerator.cc |
index 86a73cc53abd88f953fe7226a31b6e94225cfa7d..7f2a4d96b4a6916d6d73ce0cc1ea469a8b892c0f 100644 |
--- a/media/gpu/v4l2_video_decode_accelerator.cc |
+++ b/media/gpu/v4l2_video_decode_accelerator.cc |
@@ -1366,8 +1366,10 @@ void V4L2VideoDecodeAccelerator::Dequeue() { |
} else { |
output_record.state = kAtClient; |
decoder_frames_at_client_++; |
+ // TODO(hubbe): Insert correct color space. http://crbug.com/647725 |
const Picture picture(output_record.picture_id, bitstream_buffer_id, |
- gfx::Rect(visible_size_), false); |
+ gfx::Rect(visible_size_), gfx::ColorSpace(), |
+ false); |
pending_picture_ready_.push( |
PictureRecord(output_record.cleared, picture)); |
SendPictureReady(); |
@@ -2492,8 +2494,9 @@ void V4L2VideoDecodeAccelerator::FrameProcessed(int32_t bitstream_buffer_id, |
output_record.state = kAtClient; |
decoder_frames_at_client_++; |
image_processor_bitstream_buffer_ids_.pop(); |
+ // TODO(hubbe): Insert correct color space. http://crbug.com/647725 |
const Picture picture(output_record.picture_id, bitstream_buffer_id, |
- gfx::Rect(visible_size_), false); |
+ gfx::Rect(visible_size_), gfx::ColorSpace(), false); |
pending_picture_ready_.push(PictureRecord(output_record.cleared, picture)); |
SendPictureReady(); |
output_record.cleared = true; |