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

Unified Diff: media/capture/video/android/video_capture_device_android.h

Issue 2272873002: Android video capture: only use reference time for outbound timestamp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: estimate a timestamp in Camera1 callback Created 4 years, 3 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/android/video_capture_device_android.h
diff --git a/media/capture/video/android/video_capture_device_android.h b/media/capture/video/android/video_capture_device_android.h
index a0796eec803a5d4e99c73865f5f37e6c36203e03..9830e8aeba099bee3f310e086dc137a08973d945 100644
--- a/media/capture/video/android/video_capture_device_android.h
+++ b/media/capture/video/android/video_capture_device_android.h
@@ -87,7 +87,8 @@ class CAPTURE_EXPORT VideoCaptureDeviceAndroid : public VideoCaptureDevice {
jint uv_pixel_stride,
jint width,
jint height,
- jint rotation);
+ jint rotation,
+ jlong timestamp);
// Implement org.chromium.media.VideoCapture.nativeOnError.
void OnError(JNIEnv* env,
@@ -130,7 +131,6 @@ class CAPTURE_EXPORT VideoCaptureDeviceAndroid : public VideoCaptureDevice {
std::list<base::Closure> photo_requests_queue_;
base::TimeTicks expected_next_frame_time_;
- base::TimeTicks first_ref_time_;
base::TimeDelta frame_interval_;
// List of |photo_callbacks_| in flight, being served in Java side.

Powered by Google App Engine
This is Rietveld 408576698