Skip to content

Commit

Permalink
Update src/playlist-selectors.js
Browse files Browse the repository at this point in the history
Co-authored-by: Garrett Singer <[email protected]>
  • Loading branch information
brandonocasey and gesinger authored Jul 27, 2021
1 parent 013e21f commit f10d133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playlist-selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export let simpleSelector = function(
// resolutionPlusOneRep and resolutionBestRep and all
// the code involving them should be removed.
if (masterPlaylistController.experimentalLeastPixelDiffSelector) {
// find the variant that is closest to the players pixel size
// find the variant that is closest to the player's pixel size
const leastPixelDiffList = haveResolution.map((rep) => {
rep.pixelDiff = Math.abs(rep.width - playerWidth) + Math.abs(rep.height - playerHeight);
return rep;
Expand Down

0 comments on commit f10d133

Please sign in to comment.