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

Unified Diff: media/capture/video/file_video_capture_device.h

Issue 1983193002: Decouple capture timestamp and reference time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve Comments 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/file_video_capture_device.h
diff --git a/media/capture/video/file_video_capture_device.h b/media/capture/video/file_video_capture_device.h
index fce7b01221ec5c6a265378452c3f867d57961a46..6210c960557817ec2e0acf5ce086ebe1127a74e0 100644
--- a/media/capture/video/file_video_capture_device.h
+++ b/media/capture/video/file_video_capture_device.h
@@ -81,6 +81,8 @@ class MEDIA_EXPORT FileVideoCaptureDevice : public VideoCaptureDevice {
VideoCaptureFormat capture_format_;
// Target time for the next frame.
base::TimeTicks next_frame_time_;
+ // The system time when we receive the first frame.
+ base::TimeTicks first_ref_time_;
DISALLOW_COPY_AND_ASSIGN(FileVideoCaptureDevice);
};
« no previous file with comments | « media/capture/video/fake_video_capture_device_unittest.cc ('k') | media/capture/video/file_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698