mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Merge pull request #1495 from dmitrylyzo/fix-firefox-subtitle-offset
Fix Firefox subtitle offset
This commit is contained in:
commit
53f093c455
@ -649,7 +649,7 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa
|
||||
function setTrackEventsSubtitleOffset(trackEvents, offsetValue) {
|
||||
|
||||
if (Array.isArray(trackEvents)) {
|
||||
offsetValue = updateCurrentTrackOffset(offsetValue);
|
||||
offsetValue = updateCurrentTrackOffset(offsetValue) * 1e7; // ticks
|
||||
trackEvents.forEach(function(trackEvent) {
|
||||
trackEvent.StartPositionTicks -= offsetValue;
|
||||
trackEvent.EndPositionTicks -= offsetValue;
|
||||
|
Loading…
Reference in New Issue
Block a user