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

Unified Diff: media/capture/video/android/java/src/org/chromium/media/VideoCapture.java

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: use raw timestamp from camera capture Created 4 years, 4 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/java/src/org/chromium/media/VideoCapture.java
diff --git a/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java b/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
index afd0c3ed70ba388fb5a516aa17423b10c318aa37..d9a897a2d8acc3e19c5d6e426951986256765042 100644
--- a/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
+++ b/media/capture/video/android/java/src/org/chromium/media/VideoCapture.java
@@ -127,7 +127,8 @@ public abstract class VideoCapture {
public native void nativeOnI420FrameAvailable(long nativeVideoCaptureDeviceAndroid,
ByteBuffer yBuffer, int yStride, ByteBuffer uBuffer, ByteBuffer vBuffer,
- int uvRowStride, int uvPixelStride, int width, int height, int rotation);
+ int uvRowStride, int uvPixelStride, int width, int height, int rotation,
+ long timestamp);
// Method for VideoCapture implementations to signal an asynchronous error.
public native void nativeOnError(long nativeVideoCaptureDeviceAndroid, String message);

Powered by Google App Engine
This is Rietveld 408576698