Skip to content

Commit

Permalink
Read ntp_timestamp second and fraction since 64 bits is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
bbert committed Jan 4, 2023
1 parent 659a0fd commit ec7f679
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/processors/prft.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
ISOBox.prototype._boxProcessors['prft'] = function() {
this._procFullBox();
this._procField('reference_track_ID', 'uint', 32);
this._procField('ntp_timestamp', 'uint', 64);
this._procField('ntp_timestamp_sec', 'uint', 32);
this._procField('ntp_timestamp_frac', 'uint', 32);
this._procField('media_time', 'uint', (this.version == 1) ? 64 : 32);
};

0 comments on commit ec7f679

Please sign in to comment.