| commit | 013a5800641019c87dac68be4fbc4ab07c1109c1 | [log] [tgz] |
|---|---|---|
| author | magjed <magjed@webrtc.org> | Sun Jul 26 11:25:08 2015 |
| committer | Commit bot <commit-bot@chromium.org> | Sun Jul 26 11:25:14 2015 |
| tree | e6de0e16c63d51217fc721957509de47448d83bb | |
| parent | d55ce2ddb9eb67e237725820b751f404df6dba0d [diff] |
VideoCapturerAndroid: Revert elapsedRealtimeNanos to elapsedRealtime Review URL: https://codereview.webrtc.org/1254143002 Cr-Commit-Position: refs/heads/master@{#9637}
diff --git a/talk/app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java b/talk/app/webrtc/java/src/org/webrtc/VideoCapturerAndroid.java index 8976ad2..d1e4570 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 @@ 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();