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
This commit is contained in:
olly 2017-03-14 05:27:03 -07:00 committed by Oliver Woodman
parent 7c587c6b82
commit a26cb9cc3c

View file

@ -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) {