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

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: merged and land 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 0649d81383ce3704410a79d926fbcad2505b8639..a1f4b9d4f6a80afff2db7d656000812c7031224e 100644
--- a/content/renderer/media/video_frame_deliverer.h
+++ b/content/renderer/media/video_frame_deliverer.h
@@ -13,6 +13,7 @@
#include "base/message_loop/message_loop_proxy.h"
#include "base/threading/thread_checker.h"
#include "content/common/media/video_capture.h"
+#include "content/public/renderer/media_stream_video_sink.h"
#include "media/base/video_frame.h"
namespace content {
@@ -37,11 +38,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
+ // |estimated_capture_time| 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& estimated_capture_time);
const scoped_refptr<base::MessageLoopProxy>& io_message_loop() const {
return io_message_loop_;
« no previous file with comments | « content/renderer/media/video_capture_impl_unittest.cc ('k') | content/renderer/media/video_frame_deliverer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698