1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2016-06-01 14:04:22 -04:00
parent 1bd4890f44
commit e453a5b9f7
18 changed files with 387 additions and 128 deletions

View file

@ -25,7 +25,7 @@ class MP4Remuxer {
}
insertDiscontinuity() {
this._initPTS = this._initDTS = this.nextAacPts = this.nextAvcDts = undefined;
this._initPTS = this._initDTS = undefined;
}
switchLevel() {
@ -303,7 +303,7 @@ class MP4Remuxer {
}
// always adjust sample duration to avoid av sync issue
mp4Sample.duration = expectedSampleDuration;
dtsnorm = expectedSampleDuration * pes2mp4ScaleFactor + lastDTS;
ptsnorm = dtsnorm = expectedSampleDuration * pes2mp4ScaleFactor + lastDTS;
} else {
let nextAacPts, delta;
if (contiguous) {