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

Unified Diff: media/capture/video/fake_video_capture_device.cc

Issue 2518143004: [Mojo Video Capture] Replace RESOURCE_UTILIZATION with interface ReceiverLoadObserver (Closed)
Patch Set: Fix for android-only code Created 4 years 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: media/capture/video/fake_video_capture_device.cc
diff --git a/media/capture/video/fake_video_capture_device.cc b/media/capture/video/fake_video_capture_device.cc
index 31fe10bd07d289c1ef59d578afe6a58c8301ac99..8ea60bccc8efd1f1e11626a75de38f7e8bc173bf 100644
--- a/media/capture/video/fake_video_capture_device.cc
+++ b/media/capture/video/fake_video_capture_device.cc
@@ -319,10 +319,11 @@ void FakeVideoCaptureDevice::CaptureUsingClientBuffers(
base::TimeTicks expected_execution_time) {
DCHECK(thread_checker_.CalledOnValidThread());
+ const int arbitrary_frame_feedback_id = 0;
std::unique_ptr<VideoCaptureDevice::Client::Buffer> capture_buffer(
- client_->ReserveOutputBuffer(capture_format_.frame_size,
- capture_format_.pixel_format,
- capture_format_.pixel_storage));
+ client_->ReserveOutputBuffer(
+ capture_format_.frame_size, capture_format_.pixel_format,
+ capture_format_.pixel_storage, arbitrary_frame_feedback_id));
DLOG_IF(ERROR, !capture_buffer) << "Couldn't allocate Capture Buffer";
DCHECK(capture_buffer->data()) << "Buffer has NO backing memory";
« no previous file with comments | « media/capture/content/video_capture_oracle_unittest.cc ('k') | media/capture/video/fake_video_capture_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698