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

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

Issue 1162903004: FileVideoCaptureDevice: Regulate framerate without drifting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | media/video/capture/file_video_capture_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/file_video_capture_device.h
diff --git a/media/video/capture/file_video_capture_device.h b/media/video/capture/file_video_capture_device.h
index bd3b2985b9f1e2dbdcc84e956c795a9a7314241e..2ea6f358b0a892749791636261cf0c027ae96253 100644
--- a/media/video/capture/file_video_capture_device.h
+++ b/media/video/capture/file_video_capture_device.h
@@ -67,6 +67,8 @@ class MEDIA_EXPORT FileVideoCaptureDevice : public VideoCaptureDevice {
int frame_size_;
int64 current_byte_index_;
int64 first_frame_byte_index_;
+ // Target time for the next frame.
+ base::TimeTicks next_frame_time_;
DISALLOW_COPY_AND_ASSIGN(FileVideoCaptureDevice);
};
« no previous file with comments | « no previous file | media/video/capture/file_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698