Fix unused playlistParser in deprecated constructor

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=199792156
This commit is contained in:
andrewlewis 2018-06-08 07:40:30 -07:00 committed by Oliver Woodman
parent fb00221d7d
commit 448ce43ddf

View file

@ -339,8 +339,7 @@ public final class HlsMediaSource extends BaseMediaSource
extractorFactory, extractorFactory,
new DefaultCompositeSequenceableLoaderFactory(), new DefaultCompositeSequenceableLoaderFactory(),
minLoadableRetryCount, minLoadableRetryCount,
new DefaultHlsPlaylistTracker( new DefaultHlsPlaylistTracker(dataSourceFactory, minLoadableRetryCount, playlistParser),
dataSourceFactory, minLoadableRetryCount, new HlsPlaylistParser()),
/* allowChunklessPreparation= */ false, /* allowChunklessPreparation= */ false,
/* tag= */ null); /* tag= */ null);
if (eventHandler != null && eventListener != null) { if (eventHandler != null && eventListener != null) {