Skip to content

Commit

Permalink
Fix bad check
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Oct 16, 2023
1 parent 8f4ae41 commit e8ca46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source-buffer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ export class BabySourceBuffer extends EventTarget {
// and HTMLMediaElement.readyState is greater than HAVE_METADATA,
// then set the HTMLMediaElement.readyState attribute to HAVE_METADATA and stall playback.
if (
currentTimeInMicros >= start &&
currentTimeInMicros >= startInMicros &&
currentTimeInMicros < removeEndTimestamp &&
mediaElement.readyState > MediaReadyState.HAVE_METADATA
) {
Expand Down

0 comments on commit e8ca46e

Please sign in to comment.