Skip to content

Commit

Permalink
Fix bug in best playlist selection.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakkin committed Dec 1, 2019
1 parent 6e3763e commit 60fed68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func findBest(playlists []playlistInfo) playlistInfo {
}

if p.Bandwidth > highBitrate {
highBitrate = p.Bandwidth
best = p
}
}
Expand Down

0 comments on commit 60fed68

Please sign in to comment.