Skip to content

Commit

Permalink
remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
wseymour15 committed Aug 7, 2024
1 parent 4c3e8b2 commit 8ee9993
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/playlist-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -936,11 +936,6 @@ export class PlaylistController extends videojs.EventTarget {
// a previous timeline.
if (this.sourceType_ === 'dash') {
this.timelineChangeController_.on('audioTimelineBehind', () => {
const mainPendingTimelineChange = this.timelineChangeController_.pendingTimelineChange({ type: 'main' });

// Adjust the pending audio timeline to match the main timeline
this.timelineChangeController_.pendingTimelineChange({ to: mainPendingTimelineChange.to, from: mainPendingTimelineChange.from, type: 'audio' });

const segmentInfo = this.audioSegmentLoader_.pendingSegment_;

if (!segmentInfo || !segmentInfo.segment || !segmentInfo.segment.syncInfo) {
Expand Down

0 comments on commit 8ee9993

Please sign in to comment.