From 81ca7fe090d3b22ca3b28bc3c5bae09c17c94541 Mon Sep 17 00:00:00 2001 From: tonihei Date: Wed, 9 Jan 2019 17:23:30 +0000 Subject: [PATCH] Add missing call to timeline.getWindow. The window object is used without being filled with data. This used to work well for most cases as the same live stream is sending regular updates and the first update is almost never used if it's not the first item in a playlist. It causes problems when the first timeline update of a live stream is actually used for playback (e.g. when the live stream is lazily prepared in a playlist and played first). PiperOrigin-RevId: 228530232 --- .../android/exoplayer2/source/ConcatenatingMediaSource.java | 1 + 1 file changed, 1 insertion(+) diff --git a/library/core/src/main/java/com/google/android/exoplayer2/source/ConcatenatingMediaSource.java b/library/core/src/main/java/com/google/android/exoplayer2/source/ConcatenatingMediaSource.java index 4e8cccaa23..72ecd2c767 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/source/ConcatenatingMediaSource.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/source/ConcatenatingMediaSource.java @@ -709,6 +709,7 @@ public class ConcatenatingMediaSource extends CompositeMediaSource