From 4b8e6e67a3e77540a45e5622055ad757f9592f3b Mon Sep 17 00:00:00 2001 From: Rob Walch Date: Tue, 8 Dec 2020 16:39:43 -0500 Subject: [PATCH] Merge pull request #3284 from video-dev/update-id3-parsing Always parse ID3 tags if type is present on the ID3 Frame --- src/demux/id3.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/demux/id3.js b/src/demux/id3.js index 672c51134b9..eec86102d6e 100644 --- a/src/demux/id3.js +++ b/src/demux/id3.js @@ -184,13 +184,11 @@ class ID3 { static _decodeFrame (frame) { if (frame.type === 'PRIV') { return ID3._decodePrivFrame(frame); - } else if (frame.type[0] === 'T') { - return ID3._decodeTextFrame(frame); } else if (frame.type[0] === 'W') { return ID3._decodeURLFrame(frame); } - return undefined; + return ID3._decodeTextFrame(frame); } static _readTimeStamp (timeStampFrame) {