mirror of
https://github.com/androidx/media.git
synced 2025-05-21 23:56:32 +08:00
Fix HlsMediaPlaylist download using HlsDownloadHelper
Issue: #4396 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201324467
This commit is contained in:
parent
a75b5fb6a9
commit
01ce549e8f
@ -74,6 +74,7 @@ public final class HlsDownloadHelper extends DownloadHelper {
|
||||
public TrackGroupArray getTrackGroups(int periodIndex) {
|
||||
Assertions.checkNotNull(playlist);
|
||||
if (playlist instanceof HlsMediaPlaylist) {
|
||||
renditionGroups = new int[0];
|
||||
return TrackGroupArray.EMPTY;
|
||||
}
|
||||
// TODO: Generate track groups as in playback. Reverse the mapping in getDownloadAction.
|
||||
|
Loading…
x
Reference in New Issue
Block a user