mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Backport pull request #4362 from jellyfin/release-10.8.z
Fix subtitle offset reset when seeking progressive stream
Original-merge: af27e084d5
Merged-by: Bill Thornton <thornbill@users.noreply.github.com>
Backported-by: crobibero <cody@robibe.ro>
This commit is contained in:
parent
8dbf40fa0a
commit
2c4d065e0e
2 changed files with 2 additions and 1 deletions
|
@ -1740,6 +1740,7 @@ class PlaybackManager {
|
|||
const streamInfo = createStreamInfo(apiClient, currentItem.MediaType, currentItem, currentMediaSource, ticks, player);
|
||||
streamInfo.fullscreen = currentPlayOptions.fullscreen;
|
||||
streamInfo.lastMediaInfoQuery = lastMediaInfoQuery;
|
||||
streamInfo.resetSubtitleOffset = false;
|
||||
|
||||
if (!streamInfo.url) {
|
||||
showPlaybackInfoErrorMessage(self, 'PlaybackErrorNoCompatibleStream');
|
||||
|
|
|
@ -382,7 +382,7 @@ function tryRemoveElement(elem) {
|
|||
|
||||
this.#currentTime = null;
|
||||
|
||||
this.resetSubtitleOffset();
|
||||
if (options.resetSubtitleOffset !== false) this.resetSubtitleOffset();
|
||||
|
||||
return this.createMediaElement(options).then(elem => {
|
||||
return this.updateVideoUrl(options).then(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue