Fix Firefox subtitle offset
This commit is contained in:
parent
178d698feb
commit
a91afee7b6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue