OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_ | 5 #ifndef MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_ |
6 #define MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_ | 6 #define MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 base::Thread capture_thread_; | 76 base::Thread capture_thread_; |
77 // The following members belong to |capture_thread_|. | 77 // The following members belong to |capture_thread_|. |
78 std::unique_ptr<VideoCaptureDevice::Client> client_; | 78 std::unique_ptr<VideoCaptureDevice::Client> client_; |
79 const base::FilePath file_path_; | 79 const base::FilePath file_path_; |
80 std::unique_ptr<VideoFileParser> file_parser_; | 80 std::unique_ptr<VideoFileParser> file_parser_; |
81 VideoCaptureFormat capture_format_; | 81 VideoCaptureFormat capture_format_; |
82 // Target time for the next frame. | 82 // Target time for the next frame. |
83 base::TimeTicks next_frame_time_; | 83 base::TimeTicks next_frame_time_; |
84 // The system time when we receive the first frame. | 84 // The system time when we receive the first frame. |
85 base::TimeTicks first_ref_time_; | 85 base::TimeTicks first_ref_time_; |
| 86 bool capture_; |
86 | 87 |
87 DISALLOW_COPY_AND_ASSIGN(FileVideoCaptureDevice); | 88 DISALLOW_COPY_AND_ASSIGN(FileVideoCaptureDevice); |
88 }; | 89 }; |
89 | 90 |
90 } // namespace media | 91 } // namespace media |
91 | 92 |
92 #endif // MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_ | 93 #endif // MEDIA_CAPTURE_VIDEO_FILE_VIDEO_CAPTURE_DEVICE_H_ |
OLD | NEW |