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

Unified Diff: content/browser/renderer_host/media/video_capture_host.h

Issue 2686763002: [Mojo Video Capture] Split OnIncomingCapturedVideoFrame() to OnNewBuffer() and OnFrameReadyInBuffer( (Closed)
Patch Set: rebase Created 3 years, 10 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/browser/renderer_host/media/video_capture_host.h
diff --git a/content/browser/renderer_host/media/video_capture_host.h b/content/browser/renderer_host/media/video_capture_host.h
index a92ac9a466e422c90c598d51ba5723fec7fe833f..a4d1ebb950e860c0b59d0fd58b40ec5d735bea54 100644
--- a/content/browser/renderer_host/media/video_capture_host.h
+++ b/content/browser/renderer_host/media/video_capture_host.h
@@ -46,9 +46,10 @@ class CONTENT_EXPORT VideoCaptureHost
int buffer_id) override;
void OnBufferDestroyed(VideoCaptureControllerID id,
int buffer_id) override;
- void OnBufferReady(VideoCaptureControllerID id,
- int buffer_id,
- const scoped_refptr<media::VideoFrame>& frame) override;
+ void OnBufferReady(
+ VideoCaptureControllerID id,
+ int buffer_id,
+ const media::mojom::VideoFrameInfoPtr& frame_info) override;
void OnEnded(VideoCaptureControllerID id) override;
// mojom::VideoCaptureHost implementation

Powered by Google App Engine
This is Rietveld 408576698