Commit 2a832fd3 by Oliver Woodman

Minor stylistic tweaks.

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