diff options
Diffstat (limited to 'media/video')
-rw-r--r-- | media/video/gpu_memory_buffer_video_frame_pool.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/media/video/gpu_memory_buffer_video_frame_pool.cc b/media/video/gpu_memory_buffer_video_frame_pool.cc index 7ac0cd7..e7ffd99 100644 --- a/media/video/gpu_memory_buffer_video_frame_pool.cc +++ b/media/video/gpu_memory_buffer_video_frame_pool.cc @@ -202,8 +202,7 @@ unsigned ImageInternalFormat(VideoPixelFormat format, size_t plane) { return GL_RED_EXT; case PIXEL_FORMAT_NV12: DCHECK_LE(plane, 1u); - DLOG(WARNING) << "NV12 format not supported yet"; - return 0; // TODO(andresantoso): Implement extension for NV12. + return GL_RGB_YCBCR_420V_CHROMIUM; case PIXEL_FORMAT_UYVY: DCHECK_EQ(0u, plane); return GL_RGB_YCBCR_422_CHROMIUM; |