Skip to content

Commit

Permalink
Switched to parsing box tree by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
BTOdell committed Jul 20, 2021
1 parent 8800773 commit cee370a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/parser/src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,11 @@ export class MP4Parser extends AbstractMP4Parser {
}

protected onBoxStarted(header: BoxHeader, headerData: Buffer): boolean {
return this.boxStarted ? this.boxStarted(header, headerData) : false;
return this.boxStarted ? this.boxStarted(header, headerData) : true;
}

protected onBoxDecoded(box: Box, boxData: Buffer): boolean {
return this.boxDecoded ? this.boxDecoded(box, boxData) : false;
return this.boxDecoded ? this.boxDecoded(box, boxData) : true;
}

protected onBoxData(header: BoxHeader, boxData: Buffer): void {
Expand Down

0 comments on commit cee370a

Please sign in to comment.