mediabunny 1.55.6 → 1.55.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23736,11 +23736,15 @@ var Mediabunny = (() => {
23736
23736
  async next() {
23737
23737
  while (true) {
23738
23738
  if (track.input._disposed) {
23739
+ terminated = true;
23740
+ ended = true;
23739
23741
  closeSamples();
23740
23742
  throw new InputDisposedError();
23741
23743
  } else if (terminated) {
23742
23744
  return { value: void 0, done: true };
23743
23745
  } else if (hasOutOfBandError) {
23746
+ terminated = true;
23747
+ ended = true;
23744
23748
  closeSamples();
23745
23749
  throw outOfBandError;
23746
23750
  } else if (sampleQueue.length > 0) {
@@ -23904,11 +23908,13 @@ var Mediabunny = (() => {
23904
23908
  async next() {
23905
23909
  while (true) {
23906
23910
  if (track.input._disposed) {
23911
+ terminated = true;
23907
23912
  closeSamples();
23908
23913
  throw new InputDisposedError();
23909
23914
  } else if (terminated) {
23910
23915
  return { value: void 0, done: true };
23911
23916
  } else if (hasOutOfBandError) {
23917
+ terminated = true;
23912
23918
  closeSamples();
23913
23919
  throw outOfBandError;
23914
23920
  } else if (sampleQueue.length > 0) {