Index: media/gpu/vaapi_video_decode_accelerator.cc |
diff --git a/media/gpu/vaapi_video_decode_accelerator.cc b/media/gpu/vaapi_video_decode_accelerator.cc |
index 1d986fc826794efc63a40e6520c864d1a9d0cc0f..15a8cbdc0387a18cbc3c3aeaccc6bc170355f5e9 100644 |
--- a/media/gpu/vaapi_video_decode_accelerator.cc |
+++ b/media/gpu/vaapi_video_decode_accelerator.cc |
@@ -432,9 +432,10 @@ void VaapiVideoDecodeAccelerator::OutputPicture( |
// TODO(posciak): Use visible size from decoder here instead |
// (crbug.com/402760). Passing (0, 0) results in the client using the |
// visible size extracted from the container instead. |
+ // TODO(hubbe): Use the correct color space. http://crbug.com/647725 |
if (client_) |
- client_->PictureReady( |
- Picture(output_id, input_id, gfx::Rect(0, 0), picture->AllowOverlay())); |
+ client_->PictureReady(Picture(output_id, input_id, gfx::Rect(0, 0), |
+ gfx::ColorSpace(), picture->AllowOverlay())); |
} |
void VaapiVideoDecodeAccelerator::TryOutputSurface() { |