From 873d54067087b074e4cdb8d7a798ea251bd2c693 Mon Sep 17 00:00:00 2001 From: Matthias Tamegger Date: Thu, 1 Oct 2020 12:32:05 +0200 Subject: [PATCH] Adjust initial selection of the InitializationTrackSelection --- .../google/android/exoplayer2/source/hls/HlsChunkSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/HlsChunkSource.java b/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/HlsChunkSource.java index 530d56fa9c8..8607e4e2f94 100644 --- a/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/HlsChunkSource.java +++ b/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/HlsChunkSource.java @@ -592,7 +592,7 @@ private static final class InitializationTrackSelection extends BaseTrackSelecti public InitializationTrackSelection(TrackGroup group, int[] tracks) { super(group, tracks); - selectedIndex = indexOf(group.getFormat(0)); + selectedIndex = 0; } @Override