Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1633)

Unified Diff: content/browser/renderer_host/media/video_capture_host.cc

Issue 2121043002: 16 bpp video stream capture, render and WebGL usage - Realsense R200 & SR300 support. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests: cc, skcanvas_video_renderer, wrtcrecorder... Fake capture supports Y16. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 20e34a2d6785773fb6af5650548d3e13af479a37..4519bca7039b025453ed5b8545dc97386543cc5b 100644
--- a/content/browser/renderer_host/media/video_capture_host.cc
+++ b/content/browser/renderer_host/media/video_capture_host.cc
@@ -71,12 +71,14 @@ void VideoCaptureHost::OnBufferCreated2(
VideoCaptureControllerID controller_id,
const std::vector<gfx::GpuMemoryBufferHandle>& handles,
const gfx::Size& size,
+ media::VideoPixelFormat format,
int buffer_id) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
if (entries_.find(controller_id) == entries_.end())
return;
- Send(new VideoCaptureMsg_NewBuffer2(controller_id, handles, size, buffer_id));
+ Send(new VideoCaptureMsg_NewBuffer2(controller_id, handles, size, format,
+ buffer_id));
}
void VideoCaptureHost::OnBufferDestroyed(VideoCaptureControllerID controller_id,

Powered by Google App Engine
This is Rietveld 408576698