Skip to content

Commit

Permalink
Revert "fix: check for transmuxer for vtt-segment-loader (#1452)"
Browse files Browse the repository at this point in the history
This reverts commit b4dd748.
  • Loading branch information
Dzianis Dashkevich committed Nov 30, 2023
1 parent b4dd748 commit 56fd59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/segment-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2478,7 +2478,7 @@ export default class SegmentLoader extends videojs.EventTarget {
//
// Even though keepOriginalTimestamps is set to true for the transmuxer, timestamp
// offset must be passed to the transmuxer for stream correcting adjustments.
if (this.transmuxer_ && this.shouldUpdateTransmuxerTimestampOffset_(segmentInfo)) {
if (this.shouldUpdateTransmuxerTimestampOffset_(segmentInfo)) {
this.gopBuffer_.length = 0;
// gopsToAlignWith was set before the GOP buffer was cleared
segmentInfo.gopsToAlignWith = [];
Expand Down

0 comments on commit 56fd59b

Please sign in to comment.