diff --git a/lib/util/stream_utils.js b/lib/util/stream_utils.js index 7381193001..d61f5aefde 100644 --- a/lib/util/stream_utils.js +++ b/lib/util/stream_utils.js @@ -128,7 +128,7 @@ shaka.util.StreamUtils = class { const validVideoIds = []; const validVideoStreamsMap = new Map(); const getVideoGroupId = (stream) => { - return (stream.frameRate || 0) + (stream.hdr || ''); + return Math.round(stream.frameRate || 0) + (stream.hdr || ''); }; for (const stream of videoStreams) { const groupId = getVideoGroupId(stream);