From b7e543f332c51f012f3a5fdabd077eed2d8f9445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Tyczy=C5=84ski?= Date: Wed, 24 Jul 2024 12:04:12 +0200 Subject: [PATCH] fix(CEA): Always init CEA parser with new init segment (#7102) --- lib/media/closed_caption_parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/media/closed_caption_parser.js b/lib/media/closed_caption_parser.js index 77a9cc952a..ba864158b5 100644 --- a/lib/media/closed_caption_parser.js +++ b/lib/media/closed_caption_parser.js @@ -99,8 +99,8 @@ shaka.media.ClosedCaptionParser = class { // This is necessary when a new Period comes in DASH or a discontinuity // in HLS. this.reset(); - this.ceaParser_.init(initSegment); } + this.ceaParser_.init(initSegment); } /**