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

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

Issue 500653003: Video capture frame size: separate coded size and visible size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix content_unittests build. Created 6 years, 4 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 2976a4c6000bd13a37f3c706e3c5aa2358c70a3d..7157407fff2cbb9ddbc8671085d2f233c0eff035 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::OnBufferReceived(
int device_id,
int buffer_id,
const media::VideoCaptureFormat& format,
+ const gfx::Rect& visible_rect,
base::TimeTicks timestamp) {
Delegate* delegate = find_delegate(device_id);
if (!delegate) {
@@ -137,7 +138,7 @@ void VideoCaptureMessageFilter::OnBufferReceived(
return;
}
- delegate->OnBufferReceived(buffer_id, format, timestamp);
+ delegate->OnBufferReceived(buffer_id, format, visible_rect, timestamp);
}
void VideoCaptureMessageFilter::OnMailboxBufferReceived(
« 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