Index: talk/app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java |
diff --git a/talk/app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java b/talk/app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java |
index 8976ad25b6abbc2a9cad018d2727bde0a7dd5891..d1e45701b3f7dc0da7835287e5c235a449e780d9 100644 |
--- a/talk/app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java |
+++ b/talk/app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java |
@@ -805,7 +805,8 @@ public class VideoCapturerAndroid extends VideoCapturer implements PreviewCallba |
throw new RuntimeException("Unexpected camera in callback!"); |
} |
- final long captureTimeNs = SystemClock.elapsedRealtimeNanos(); |
+ final long captureTimeNs = |
+ TimeUnit.MILLISECONDS.toNanos(SystemClock.elapsedRealtime()); |
captureBuffersCount += videoBuffers.numCaptureBuffersAvailable(); |
int rotation = getDeviceOrientation(); |