Commit a26cb9cc by olly Committed by Oliver Woodman

No-op fix for playback tests

super.onQueueInputBuffer is no longer a no-op in all
configurations. It doesn't make any difference in practice
for these tests, but for completeness we should call up.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150056224
parent 7c587c6b
......@@ -99,12 +99,14 @@ public class DebugSimpleExoPlayer extends SimpleExoPlayer {
@Override
protected void onQueueInputBuffer(DecoderInputBuffer buffer) {
super.onQueueInputBuffer(buffer);
insertTimestamp(buffer.timeUs);
maybeShiftTimestampsList();
}
@Override
protected void onProcessedOutputBuffer(long presentationTimeUs) {
super.onProcessedOutputBuffer(presentationTimeUs);
bufferCount++;
long expectedTimestampUs = dequeueTimestamp();
if (expectedTimestampUs != presentationTimeUs) {
......
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