| Index: media/video/gpu_memory_buffer_video_frame_pool.cc
|
| diff --git a/media/video/gpu_memory_buffer_video_frame_pool.cc b/media/video/gpu_memory_buffer_video_frame_pool.cc
|
| index 02eba8ed28dca2d9df4de59719675913328cc7fc..1130bb9491cd14e398c0a4e715106d30800c5aca 100644
|
| --- a/media/video/gpu_memory_buffer_video_frame_pool.cc
|
| +++ b/media/video/gpu_memory_buffer_video_frame_pool.cc
|
| @@ -26,6 +26,7 @@
|
| #include "gpu/GLES2/gl2extchromium.h"
|
| #include "gpu/command_buffer/client/gles2_interface.h"
|
| #include "media/base/bind_to_current_loop.h"
|
| +#include "media/base/video_color_space.h"
|
| #include "media/renderers/gpu_video_accelerator_factories.h"
|
| #include "third_party/libyuv/include/libyuv.h"
|
| #include "ui/gfx/buffer_format_util.h"
|
| @@ -602,6 +603,9 @@ void GpuMemoryBufferVideoFramePool::PoolImpl::
|
| return;
|
| }
|
|
|
| + VideoColorSpace video_color_space(video_frame);
|
| + video_color_space.SetVideoFrameColorSpace(frame);
|
| +
|
| bool allow_overlay = false;
|
| switch (output_format_) {
|
| case PIXEL_FORMAT_I420:
|
|
|