From df250bb0afc2d03046477bc62b5d27ad659111a0 Mon Sep 17 00:00:00 2001 From: Alvaro Velad Galvan Date: Wed, 14 Jun 2023 08:03:38 +0200 Subject: [PATCH] Add comment --- lib/hls/hls_parser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hls/hls_parser.js b/lib/hls/hls_parser.js index 84cffd7a5c..7eb4c7dd41 100644 --- a/lib/hls/hls_parser.js +++ b/lib/hls/hls_parser.js @@ -2865,6 +2865,8 @@ shaka.hls.HlsParser = class { let pStartByte = 0; let pEndByte = null; if (item.name == 'EXT-X-PRELOAD-HINT') { + // Note: BYTERANGE-START without BYTERANGE-LENGTH is being ignored at + // parsing time. // A preload hinted partial segment may have byterange start info. const pByterangeStart = item.getAttributeValue('BYTERANGE-START'); pStartByte = pByterangeStart ? Number(pByterangeStart) : 0;