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

Unified Diff: content/renderer/media/video_capture_impl.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: 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_capture_impl.cc
diff --git a/content/renderer/media/video_capture_impl.cc b/content/renderer/media/video_capture_impl.cc
index 122fc06787ecb954884bb3180269df58752081cd..ae269d19db3d9c4e6b58450fa8aacbd7cac4e608 100644
--- a/content/renderer/media/video_capture_impl.cc
+++ b/content/renderer/media/video_capture_impl.cc
@@ -251,7 +251,7 @@ void VideoCaptureImpl::OnBufferReceived(int buffer_id,
for (ClientInfoMap::iterator it = clients_.begin(); it != clients_.end();
++it) {
- it->second.deliver_frame_cb.Run(frame, format);
+ it->second.deliver_frame_cb.Run(frame, format, first_frame_timestamp_);
}
}
@@ -289,7 +289,7 @@ void VideoCaptureImpl::OnMailboxBufferReceived(
for (ClientInfoMap::iterator it = clients_.begin(); it != clients_.end();
++it) {
- it->second.deliver_frame_cb.Run(frame, format);
+ it->second.deliver_frame_cb.Run(frame, format, first_frame_timestamp_);
}
}

Powered by Google App Engine
This is Rietveld 408576698