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

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

Issue 312803002: Android media: VideoFrame should not store so many sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make VideoFrame keep only one sync point per client Created 6 years, 6 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_impl_unittest.cc
diff --git a/content/renderer/media/video_capture_impl_unittest.cc b/content/renderer/media/video_capture_impl_unittest.cc
index 19e481d92aaf696f0c87646accc2dc9fbacca2ec..78b641dc5de58bf8c1b79f370c3402bab3cd2ea9 100644
--- a/content/renderer/media/video_capture_impl_unittest.cc
+++ b/content/renderer/media/video_capture_impl_unittest.cc
@@ -78,9 +78,10 @@ class VideoCaptureImplTest : public ::testing::Test {
OnStateChanged(VIDEO_CAPTURE_STATE_STOPPED);
}
- void DeviceReceiveEmptyBuffer(int device_id,
- int buffer_id,
- const std::vector<uint32>& sync_points) {}
+ void DeviceReceiveEmptyBuffer(
+ int device_id,
+ int buffer_id,
+ const std::map<uintptr_t, uint32>& sync_points) {}
void DeviceGetSupportedFormats(int device_id,
media::VideoCaptureSessionId session_id) {

Powered by Google App Engine
This is Rietveld 408576698