| 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 3f0ceeabe5f1160bfbbdfacdb2f9e96b6b3223c4..27fd5caab9e25af50ac52b732084c322645c7648 100644
|
| --- a/media/gpu/v4l2_video_decode_accelerator.cc
|
| +++ b/media/gpu/v4l2_video_decode_accelerator.cc
|
| @@ -1230,8 +1230,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();
|
| @@ -2268,8 +2270,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;
|
|
|