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

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

Issue 2518143004: [Mojo Video Capture] Replace RESOURCE_UTILIZATION with interface ReceiverLoadObserver (Closed)
Patch Set: Fixes for failing bots Created 4 years, 1 month 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..75947a8cb2c0d805b7ae45e20656eb41c4030efe 100644
--- a/media/capture/video/fake_video_capture_device.cc
+++ b/media/capture/video/fake_video_capture_device.cc
@@ -336,8 +336,10 @@ void FakeVideoCaptureDevice::CaptureUsingClientBuffers(
base::TimeTicks now = base::TimeTicks::Now();
if (first_ref_time_.is_null())
first_ref_time_ = now;
+ const int arbitrary_frame_id = 0;
client_->OnIncomingCapturedBuffer(std::move(capture_buffer), capture_format_,
- now, now - first_ref_time_);
+ now, now - first_ref_time_,
+ arbitrary_frame_id);
BeepAndScheduleNextCapture(
expected_execution_time,

Powered by Google App Engine
This is Rietveld 408576698