Skip to content

Commit

Permalink
fix(DASH): Fix PERIOD_FLATTENING_FAILED on fastswitching streams (#6113)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Jan 17, 2024
1 parent 6312fa3 commit af12b0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/util/periods.js
Expand Up @@ -1034,6 +1034,10 @@ shaka.util.PeriodCombiner = class {
continue;
}

if (outputStream.fastSwitching != stream.fastSwitching) {
continue;
}

if (!best || isBetterMatch(outputStream, best, stream)) {
best = stream;
}
Expand Down

0 comments on commit af12b0b

Please sign in to comment.