mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Remove unused CapturingRenderersFactory
from DASH playback test
The `CapturingRenderersFactory` is only needed if the output is asserted on, e.g. by using `PlaybackOutput` and `DumpFileAsserts.assertOutput()`. PiperOrigin-RevId: 686046545
This commit is contained in:
parent
0b47e93df5
commit
cb90bb38ee
@ -408,8 +408,6 @@ public final class DashPlaybackTest {
|
||||
@Test
|
||||
public void playVideo_usingWithinGopSampleDependencies_withSeekAfterEoS() throws Exception {
|
||||
Context applicationContext = ApplicationProvider.getApplicationContext();
|
||||
CapturingRenderersFactory capturingRenderersFactory =
|
||||
new CapturingRenderersFactory(applicationContext);
|
||||
BundledChunkExtractor.Factory chunkExtractorFactory =
|
||||
new BundledChunkExtractor.Factory().experimentalParseWithinGopSampleDependencies(true);
|
||||
DataSource.Factory defaultDataSourceFactory = new DefaultDataSource.Factory(applicationContext);
|
||||
@ -419,7 +417,7 @@ public final class DashPlaybackTest {
|
||||
chunkExtractorFactory, defaultDataSourceFactory, /* maxSegmentsPerLoad= */ 1),
|
||||
/* manifestDataSourceFactory= */ defaultDataSourceFactory);
|
||||
ExoPlayer player =
|
||||
new ExoPlayer.Builder(applicationContext, capturingRenderersFactory)
|
||||
new ExoPlayer.Builder(applicationContext)
|
||||
.setMediaSourceFactory(dashMediaSourceFactory)
|
||||
.setClock(new FakeClock(/* isAutoAdvancing= */ true))
|
||||
.build();
|
||||
|
Loading…
x
Reference in New Issue
Block a user