Skip to content

Commit

Permalink
Fix HlsMediaPlaylist download using HlsDownloadHelper
Browse files Browse the repository at this point in the history
Issue: #4396

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=201324467
  • Loading branch information
erdemguven authored and ojw28 committed Jun 20, 2018
1 parent a75b5fb commit 01ce549
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public int getPeriodCount() {
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.
Expand Down

0 comments on commit 01ce549

Please sign in to comment.