Commit 2a832fd3 by Oliver Woodman

Minor stylistic tweaks.

parent d506d766
......@@ -737,11 +737,11 @@ public abstract class MediaCodecTrackRenderer extends TrackRenderer {
return false;
}
int decodeOnlyIdx = getDecodeOnlyIndex(outputBufferInfo.presentationTimeUs);
int decodeOnlyIndex = getDecodeOnlyIndex(outputBufferInfo.presentationTimeUs);
if (processOutputBuffer(positionUs, elapsedRealtimeUs, codec, outputBuffers[outputIndex],
outputBufferInfo, outputIndex, decodeOnlyIdx >= 0)) {
if (decodeOnlyIdx >= 0) {
decodeOnlyPresentationTimestamps.remove(decodeOnlyIdx);
outputBufferInfo, outputIndex, decodeOnlyIndex != -1)) {
if (decodeOnlyIndex != -1) {
decodeOnlyPresentationTimestamps.remove(decodeOnlyIndex);
} else {
currentPositionUs = outputBufferInfo.presentationTimeUs;
}
......@@ -794,4 +794,5 @@ public abstract class MediaCodecTrackRenderer extends TrackRenderer {
}
return -1;
}
}
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