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

Unified Diff: media/capture/video/linux/v4l2_capture_delegate.h

Issue 1983193002: Decouple capture timestamp and reference time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: media/capture/video/linux/v4l2_capture_delegate.h
diff --git a/media/capture/video/linux/v4l2_capture_delegate.h b/media/capture/video/linux/v4l2_capture_delegate.h
index e2256e1c749789302ea1a15c77b2bfd74e5994fd..43911d0692a9f3da68c7e3a8e0be8f05d3b35396 100644
--- a/media/capture/video/linux/v4l2_capture_delegate.h
+++ b/media/capture/video/linux/v4l2_capture_delegate.h
@@ -90,6 +90,9 @@ class V4L2CaptureDelegate final
// Clockwise rotation in degrees. This value should be 0, 90, 180, or 270.
int rotation_;
+ // The system time when we receive the first frame.
+ base::TimeTicks first_ref_time_;
+
DISALLOW_COPY_AND_ASSIGN(V4L2CaptureDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698