Add test for seeking composition playback

PiperOrigin-RevId: 630184355
This commit is contained in:
claincly 2024-05-02 14:43:55 -07:00 committed by Copybara-Service
parent cb4b2ea55c
commit d59f1cb6e3

View File

@ -118,6 +118,14 @@ public final class PlayerTestListener implements Player.Listener, AnalyticsListe
this.decoderCounters = decoderCounters;
}
public void resetStatus() {
playerIdle.close();
playerReady.close();
playerEnded.close();
firstFrameRendered.close();
playbackException.set(null);
}
// Internal methods
private void waitOrThrow(ConditionVariable conditionVariable)