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 { ...@@ -99,12 +99,14 @@ public class DebugSimpleExoPlayer extends SimpleExoPlayer {
@Override @Override
protected void onQueueInputBuffer(DecoderInputBuffer buffer) { protected void onQueueInputBuffer(DecoderInputBuffer buffer) {
super.onQueueInputBuffer(buffer);
insertTimestamp(buffer.timeUs); insertTimestamp(buffer.timeUs);
maybeShiftTimestampsList(); maybeShiftTimestampsList();
} }
@Override @Override
protected void onProcessedOutputBuffer(long presentationTimeUs) { protected void onProcessedOutputBuffer(long presentationTimeUs) {
super.onProcessedOutputBuffer(presentationTimeUs);
bufferCount++; bufferCount++;
long expectedTimestampUs = dequeueTimestamp(); long expectedTimestampUs = dequeueTimestamp();
if (expectedTimestampUs != presentationTimeUs) { 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