mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00: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
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Reference in a new issue