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

Unified Diff: content/renderer/media/video_capture_impl.h

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.h
diff --git a/content/renderer/media/video_capture_impl.h b/content/renderer/media/video_capture_impl.h
index 160f0bf95c800264a9147eb1531aaebaf397faba..064c228d54b63aca19ae2dfa6b0e9f9e40696a9c 100644
--- a/content/renderer/media/video_capture_impl.h
+++ b/content/renderer/media/video_capture_impl.h
@@ -128,9 +128,10 @@ class CONTENT_EXPORT VideoCaptureImpl
// Sends an IPC message to browser process when all clients are done with the
// buffer.
- void OnClientBufferFinished(int buffer_id,
- const scoped_refptr<ClientBuffer>& buffer,
- const std::vector<uint32>& release_sync_points);
+ void OnClientBufferFinished(
+ int buffer_id,
+ const scoped_refptr<ClientBuffer>& buffer,
+ const std::map<uintptr_t, uint32>& release_sync_points);
void StopDevice();
void RestartCapture();

Powered by Google App Engine
This is Rietveld 408576698