Skip to content

Commit de41b0a

Browse files
committed
Do not apply interstitial buffering bounds to subtitle fragments
Fixes #6768
1 parent 0023dc1 commit de41b0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/controller/base-stream-controller.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,8 @@ export default class BaseStreamController
445445
if (
446446
__USE_INTERSTITALS__ &&
447447
config.interstitialsController &&
448-
config.enableInterstitialPlayback !== false
448+
config.enableInterstitialPlayback !== false &&
449+
frag.type !== PlaylistLevelType.SUBTITLE
449450
) {
450451
// Do not load fragments outside the buffering schedule segment
451452
const interstitials = this.hls.interstitialsManager;

0 commit comments

Comments
 (0)