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

Unified Diff: media/capture/video/win/video_capture_device_win.cc

Issue 1671943003: Use system timestamp as capture timestamp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « media/capture/video/mac/video_capture_device_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/win/video_capture_device_win.cc
diff --git a/media/capture/video/win/video_capture_device_win.cc b/media/capture/video/win/video_capture_device_win.cc
index 44f73acc082562eb53550927ff0221fe4bba6715..e178d9be9bdf5ea79fbaf883c042d3e52f41427a 100644
--- a/media/capture/video/win/video_capture_device_win.cc
+++ b/media/capture/video/win/video_capture_device_win.cc
@@ -452,7 +452,7 @@ void VideoCaptureDeviceWin::FrameReceived(const uint8_t* buffer,
int length,
base::TimeTicks timestamp) {
client_->OnIncomingCapturedData(buffer, length, capture_format_, 0,
- timestamp);
+ base::TimeTicks::Now());
}
bool VideoCaptureDeviceWin::CreateCapabilityMap() {
« no previous file with comments | « media/capture/video/mac/video_capture_device_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698