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

Unified Diff: content/renderer/media/video_capture_message_filter.cc

Issue 2398463003: 16 bit capture and GPU&CPU memory buffer support.
Patch Set: fixes. Created 4 years, 2 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/renderer/media/video_capture_message_filter.cc
diff --git a/content/renderer/media/video_capture_message_filter.cc b/content/renderer/media/video_capture_message_filter.cc
index aad0da8e747140d83ce7216bd9e383734063b0c2..fe5bb072e78e6ffdd00ea10410681e0043a63917 100644
--- a/content/renderer/media/video_capture_message_filter.cc
+++ b/content/renderer/media/video_capture_message_filter.cc
@@ -125,6 +125,7 @@ void VideoCaptureMessageFilter::OnBufferCreated2(
int device_id,
const std::vector<gfx::GpuMemoryBufferHandle>& handles,
const gfx::Size& size,
+ media::VideoPixelFormat format,
int buffer_id) {
Delegate* const delegate = find_delegate(device_id);
if (!delegate) {
@@ -136,7 +137,7 @@ void VideoCaptureMessageFilter::OnBufferCreated2(
return;
}
- delegate->OnBufferCreated2(handles, size, buffer_id);
+ delegate->OnBufferCreated2(handles, size, format, buffer_id);
}
void VideoCaptureMessageFilter::OnBufferReceived(
« no previous file with comments | « content/renderer/media/video_capture_message_filter.h ('k') | content/renderer/media/video_capture_message_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698