Commit ac18ac08 by Oliver Woodman

Fix missing ->IN_SYNC transition.

parent dec40bcb
...@@ -616,6 +616,7 @@ public class MediaCodecAudioTrackRenderer extends MediaCodecTrackRenderer { ...@@ -616,6 +616,7 @@ public class MediaCodecAudioTrackRenderer extends MediaCodecTrackRenderer {
// time and the number of bytes submitted. Also reset lastReportedCurrentPositionUs to // time and the number of bytes submitted. Also reset lastReportedCurrentPositionUs to
// allow time to jump backwards if it really wants to. // allow time to jump backwards if it really wants to.
audioTrackStartMediaTimeUs += (bufferStartTime - expectedBufferStartTime); audioTrackStartMediaTimeUs += (bufferStartTime - expectedBufferStartTime);
audioTrackStartMediaTimeState = START_IN_SYNC;
lastReportedCurrentPositionUs = Long.MIN_VALUE; lastReportedCurrentPositionUs = Long.MIN_VALUE;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment