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

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

Issue 287313002: Pass a TimeTicks along video capture pipeline to represent capture time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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_frame_deliverer.h
diff --git a/content/renderer/media/video_frame_deliverer.h b/content/renderer/media/video_frame_deliverer.h
index e8819b4821fd33330d13ae2fa24361d76f105018..c2b0daa8fba5f5b9f6de98e9ea8bbb09a443f49a 100644
--- a/content/renderer/media/video_frame_deliverer.h
+++ b/content/renderer/media/video_frame_deliverer.h
@@ -37,11 +37,12 @@ class VideoFrameDeliverer
// Must be called on the main render thread.
void RemoveCallback(void* id);
- // Triggers all registered callbacks with |frame| and |format| as parameters.
- // Must be called on the IO-thread.
+ // Triggers all registered callbacks with |frame|, |format| and |start_ticks|
+ // as parameters. Must be called on the IO-thread.
virtual void DeliverFrameOnIO(
const scoped_refptr<media::VideoFrame>& frame,
- const media::VideoCaptureFormat& format);
+ const media::VideoCaptureFormat& format,
+ const base::TimeTicks& start_ticks);
const scoped_refptr<base::MessageLoopProxy>& io_message_loop() const {
return io_message_loop_;

Powered by Google App Engine
This is Rietveld 408576698