mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
1bd4890f44
commit
e453a5b9f7
18 changed files with 387 additions and 128 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue