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

Unified Diff: content/renderer/media/video_source_handler.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
« no previous file with comments | « content/renderer/media/video_frame_deliverer.cc ('k') | content/renderer/media/video_track_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/video_source_handler.cc
diff --git a/content/renderer/media/video_source_handler.cc b/content/renderer/media/video_source_handler.cc
index dabc9cc1326187d68262f19b76977180d8074ff0..a91ac3b0884d2ed87ea089471a9473ed3a07952b 100644
--- a/content/renderer/media/video_source_handler.cc
+++ b/content/renderer/media/video_source_handler.cc
@@ -54,7 +54,8 @@ class PpFrameReceiver : public MediaStreamVideoSink {
void OnVideoFrame(
const scoped_refptr<media::VideoFrame>& frame,
- const media::VideoCaptureFormat& format) {
+ const media::VideoCaptureFormat& format,
+ const base::TimeTicks& estimated_capture_time) {
if (reader_) {
reader_->GotFrame(frame);
}
@@ -138,7 +139,8 @@ void VideoSourceHandler::DeliverFrameForTesting(
return;
}
PpFrameReceiver* receiver = it->second->receiver_.get();
- receiver->OnVideoFrame(frame, media::VideoCaptureFormat());
+ receiver->OnVideoFrame(frame, media::VideoCaptureFormat(),
+ base::TimeTicks());
}
VideoSourceHandler::SourceInfo::SourceInfo(
« no previous file with comments | « content/renderer/media/video_frame_deliverer.cc ('k') | content/renderer/media/video_track_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698