gliese1337/HLS.js

SPS parsing incorrect

Opened this issue · 2 comments

hi! just wanted to report a quick bug in the SPS parser. for the following SPS:

6764001fad84010c20086100430802184010c200843b502802dd35010101400145d8c04c4b4025

the parser reports:

  num_units_in_tick: 4295300963,
  time_scale: 12904901888,
  fixed_frame_rate_flag: 1,

instead of

  num_units_in_tick: 333667,
  time_scale: 20000000,
  fixed_frame_rate_flag: 1,

Thanks for the very specific report! I unfortuitously have a migraine today, so I will have to look at it later, but I wanted to acknowledge that I have seen this.

it's not urgent at all (we won't be using this library in the end) just reporting in case it's useful, feel free to close otherwise