From 9684cb23c1bd2d775e2916553edf2f9831d96df8 Mon Sep 17 00:00:00 2001 From: Daniel Silhavy Date: Wed, 16 Feb 2022 19:33:44 +0100 Subject: [PATCH] Fix calculation of thumbnail timestamp for multiple periods (#3881) --- src/streaming/MediaPlayer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/streaming/MediaPlayer.js b/src/streaming/MediaPlayer.js index 1dc68aaace..3413fcd7b9 100644 --- a/src/streaming/MediaPlayer.js +++ b/src/streaming/MediaPlayer.js @@ -1683,8 +1683,7 @@ function MediaPlayer() { return; } - const timeInPeriod = streamController.getTimeRelativeToStreamId(s, stream.getId()); - return thumbnailController.provide(timeInPeriod, callback); + return thumbnailController.provide(s, callback); } /*