Skip to content

Commit

Permalink
chore: Remove unnecessary code (#8220)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored Mar 6, 2025
1 parent 18695c6 commit 84c73f8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1366,12 +1366,6 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
this.fullyLoaded_ = false;
this.makeStateChangeEvent_('unload');

// If the platform does not support media source, we will never want to
// initialize media source.
if (initializeMediaSource && !shaka.util.Platform.supportsMediaSource()) {
initializeMediaSource = false;
}

// If LCEVC Decoder exists close it.
this.closeLcevcDec_();

Expand Down

0 comments on commit 84c73f8

Please sign in to comment.