Ignore 1 test in CompositionMultipleSequencePlaybackTest

playback_sequencesOfVideos_effectsReceiveCorrectTimestamps is failing
for prewarming. The following is happening:
- For prewarming, there are 2 alternating video renderers per sequence.
- When the first MediaItem ends (for both sequences), signalEndOfInput
is not called on the InputVideoSink (which is expected).
- The DefaultVideoCompositor doesn't receive the end-of-input-source
signal (which is also expected).
- As a result, the DefaultVideoCompositor never outputs the last frame
because it waits for more input frames to be fed.
- The VideoGraph thus doesn't output the last frame either, and the
first video renderer never ends.
- This causes playback to get stuck.

This is similar to the problem of supporting multiple video sequences
with images and videos in CompositionPlayer.

PiperOrigin-RevId: 720106413
This commit is contained in:
kimvde 2025-01-27 03:47:29 -08:00 committed by Copybara-Service
parent 80a734f4f1
commit 0b9ca1e70b

View File

@ -34,6 +34,7 @@ import java.util.concurrent.TimeoutException;
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
@ -134,6 +135,7 @@ public class CompositionMultipleSequencePlaybackTest {
}
@Test
@Ignore("TODO: b/391349011 - Re-enable after propagating an EOS signal after each MediaItem")
public void playback_sequencesOfVideos_effectsReceiveCorrectTimestamps() throws Exception {
Composition composition =
new Composition.Builder(