mozilla / mp4parse-rust

Parser for ISO Base Media Format aka video/mp4 written in Rust.
Mozilla Public License 2.0
404 stars 62 forks source link

Expose the mvhd timescale when getting the fragment duration #401

Closed padenot closed 1 year ago

padenot commented 1 year ago

I missed it was in a different timescale as the tracks, and wasn't exposed elsewhere in the API. This is essentially a revert of part of an earlier patch and adds a member to the fragment info struct.