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

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

Issue 2045813003: Decouple capture timestamp and reference time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/browser/renderer_host/media/video_capture_controller_event_handler.h
diff --git a/content/browser/renderer_host/media/video_capture_controller_event_handler.h b/content/browser/renderer_host/media/video_capture_controller_event_handler.h
index 3285de9c065f6287ec523b2173cb016d3fbc460d..a0ded7ee1dd1367ddbcb8834d8f79c5a05052503 100644
--- a/content/browser/renderer_host/media/video_capture_controller_event_handler.h
+++ b/content/browser/renderer_host/media/video_capture_controller_event_handler.h
@@ -49,7 +49,7 @@ class CONTENT_EXPORT VideoCaptureControllerEventHandler {
virtual void OnBufferReady(VideoCaptureControllerID id,
int buffer_id,
const scoped_refptr<media::VideoFrame>& frame,
- const base::TimeTicks& timestamp) = 0;
+ base::TimeTicks reference_time) = 0;
miu 2016/06/07 20:03:47 ditto: You can let frame->metadata() carry the REF
qiangchen 2016/06/08 18:04:30 Done.
// The capture session has ended and no more frames will be sent.
virtual void OnEnded(VideoCaptureControllerID id) = 0;

Powered by Google App Engine
This is Rietveld 408576698