Skip to content

Commit af12b0b

Browse files
authored
fix(DASH): Fix PERIOD_FLATTENING_FAILED on fastswitching streams (#6113)
1 parent 6312fa3 commit af12b0b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/util/periods.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,10 @@ shaka.util.PeriodCombiner = class {
10341034
continue;
10351035
}
10361036

1037+
if (outputStream.fastSwitching != stream.fastSwitching) {
1038+
continue;
1039+
}
1040+
10371041
if (!best || isBetterMatch(outputStream, best, stream)) {
10381042
best = stream;
10391043
}

0 commit comments

Comments
 (0)