mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-23 05:59:43 +00:00
Fix subtitle offset support. #35
This commit is contained in:
parent
f58105d0cb
commit
193cacf817
@ -317,7 +317,7 @@
|
||||
setSubtitleOffset(offset) {
|
||||
const offsetValue = parseFloat(offset);
|
||||
this._currentTrackOffset = offsetValue;
|
||||
window.api.player.setSubtitleDelay(offset);
|
||||
window.api.player.setSubtitleDelay(Math.round(offsetValue * 1000));
|
||||
}
|
||||
|
||||
getSubtitleOffset() {
|
||||
|
Loading…
Reference in New Issue
Block a user