From 92572436205952829a048d052b04e2afa24658bc Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 4 Oct 2023 11:12:29 +0200 Subject: [PATCH] Fix hls tests --- packages/tests/src/shared/streaming-playlists.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tests/src/shared/streaming-playlists.ts b/packages/tests/src/shared/streaming-playlists.ts index f2f0fbe85..ec5a0187a 100644 --- a/packages/tests/src/shared/streaming-playlists.ts +++ b/packages/tests/src/shared/streaming-playlists.ts @@ -88,7 +88,7 @@ async function checkResolutionsInMasterPlaylist (options: { if (resolution === VideoResolution.H_NOVIDEO) { expect(masterPlaylist).to.match(new RegExp(`${base},CODECS="mp4a.40.2"`)) } else if (transcoded) { - expect(masterPlaylist).to.match(new RegExp(`${base},(FRAME-RATE=\\d+,)?CODECS="avc1.64001f,mp4a.40.2"`)) + expect(masterPlaylist).to.match(new RegExp(`${base},(FRAME-RATE=\\d+,)?CODECS="avc1.6400[0-f]{2},mp4a.40.2"`)) } else { expect(masterPlaylist).to.match(new RegExp(`${base}`)) }