Index: content/browser/renderer_host/media/video_capture_host.cc |
diff --git a/content/browser/renderer_host/media/video_capture_host.cc b/content/browser/renderer_host/media/video_capture_host.cc |
index d37dc46fcdb864ee5e43c1e21d17f4249749c132..6c2c421c8fe0f8e9e9d7186f62ff8baaf6c2ed49 100644 |
--- a/content/browser/renderer_host/media/video_capture_host.cc |
+++ b/content/browser/renderer_host/media/video_capture_host.cc |
@@ -95,8 +95,9 @@ void VideoCaptureHost::OnBufferReady( |
info->timestamp = video_frame->timestamp(); |
video_frame->metadata()->MergeInternalValuesInto(&info->metadata); |
- DCHECK_EQ(media::PIXEL_FORMAT_I420, video_frame->format()); |
- info->pixel_format = media::PIXEL_FORMAT_I420; |
+ DCHECK(media::PIXEL_FORMAT_I420 == video_frame->format() || |
+ media::PIXEL_FORMAT_Y16 == video_frame->format()); |
+ info->pixel_format = video_frame->format(); |
info->storage_type = media::PIXEL_STORAGE_CPU; |
info->coded_size = video_frame->coded_size(); |
info->visible_rect = video_frame->visible_rect(); |