Fixed old function type

Co-authored-by: Cameron <Influence365@gmail.com>
This commit is contained in:
Cromefire_ 2020-07-22 20:12:32 +02:00 committed by GitHub
parent 394c1195d1
commit 159a7f55d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -924,7 +924,7 @@ function supportsTextTracks() {
loading.hide();
htmlMediaHelper.seekOnPlaybackStart(this, e.target, this._currentPlayOptions.playerStartPositionTicks, function () {
htmlMediaHelper.seekOnPlaybackStart(this, e.target, this._currentPlayOptions.playerStartPositionTicks, () => {
if (this.currentSubtitlesOctopus) {
this.currentSubtitlesOctopus.timeOffset = (this._currentPlayOptions.transcodingOffsetTicks || 0) / 10000000 + this.currentTrackOffset;
this.currentSubtitlesOctopus.resize();