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,
new DefaultCompositeSequenceableLoaderFactory(),
minLoadableRetryCount,
new DefaultHlsPlaylistTracker(
dataSourceFactory, minLoadableRetryCount, new HlsPlaylistParser()),
new DefaultHlsPlaylistTracker(dataSourceFactory, minLoadableRetryCount, playlistParser),
/* allowChunklessPreparation= */ false,
/* tag= */ null);
if (eventHandler != null && eventListener != null) {