Skip to content

Commit

Permalink
fix(SUP-12118): auto displayed twice in the source selector (kaltura#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ErezBouskila authored and OrenMe committed Oct 10, 2017
1 parent 5dee080 commit 7846d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Hlsjs/resources/hlsjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
* @param levels
*/
addAbrFlavors: function (levels) {
if (levels && levels.length > 1) {
if (levels && levels.length > 0) {
var flavors = levels.map(function (level, index) {
var sourceAspect = Math.round(( level.width / level.height ) * 100) / 100;
// Setup a source object:
Expand Down

0 comments on commit 7846d16

Please sign in to comment.