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

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: 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_capture_impl.h ('k') | content/renderer/media/video_capture_impl_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a9d6240ea1c5ad250666d5d34eccec37f5bdb243 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, 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, timestamp);
}
}
« no previous file with comments | « content/renderer/media/video_capture_impl.h ('k') | content/renderer/media/video_capture_impl_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698