Index: content/browser/renderer_host/media/video_capture_controller.cc |
diff --git a/content/browser/renderer_host/media/video_capture_controller.cc b/content/browser/renderer_host/media/video_capture_controller.cc |
index a16ad2ef6e3e7e19ae1c8f07b74aa7ccaa7460e0..f05d93fc265be8f968b49fa14ae121ebae66111a 100644 |
--- a/content/browser/renderer_host/media/video_capture_controller.cc |
+++ b/content/browser/renderer_host/media/video_capture_controller.cc |
@@ -422,6 +422,10 @@ void VideoCaptureController::VideoCaptureDeviceClient::OnIncomingCapturedData( |
DCHECK(!chopped_width && !chopped_height); |
origin_colorspace = libyuv::FOURCC_YV12; |
break; |
+ case media::PIXEL_FORMAT_NV12: |
+ DCHECK(!chopped_width && !chopped_height); |
+ origin_colorspace = libyuv::FOURCC_NV12; |
+ break; |
case media::PIXEL_FORMAT_NV21: |
DCHECK(!chopped_width && !chopped_height); |
origin_colorspace = libyuv::FOURCC_NV21; |