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

Unified Diff: content/renderer/media/media_stream_video_track.cc

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/media_stream_video_track.cc
diff --git a/content/renderer/media/media_stream_video_track.cc b/content/renderer/media/media_stream_video_track.cc
index cbb2869b69737108e9c4f7b17b2c3d9c00e0bf09..0ad7159255d2c855fef5e9cb8e5a48616e1e88d8 100644
--- a/content/renderer/media/media_stream_video_track.cc
+++ b/content/renderer/media/media_stream_video_track.cc
@@ -53,11 +53,13 @@ class MediaStreamVideoTrack::FrameDeliverer : public VideoFrameDeliverer {
virtual void DeliverFrameOnIO(
const scoped_refptr<media::VideoFrame>& frame,
- const media::VideoCaptureFormat& format) OVERRIDE {
+ const media::VideoCaptureFormat& format,
+ const base::TimeTicks& estimated_capture_time) OVERRIDE {
DCHECK(io_message_loop()->BelongsToCurrentThread());
if (!enabled_)
return;
- VideoFrameDeliverer::DeliverFrameOnIO(frame, format);
+ VideoFrameDeliverer::DeliverFrameOnIO(frame, format,
+ estimated_capture_time);
}
const std::vector<MediaStreamVideoSink*>& sinks() const { return sinks_; }
« no previous file with comments | « content/renderer/media/media_stream_video_source.h ('k') | content/renderer/media/media_stream_video_track_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698