rust-av / avp

Another Video Player
MIT License
49 stars 9 forks source link

Add a constant to specify a time conversion #24

Closed Luni-4 closed 3 years ago

Luni-4 commented 3 years ago

Since the Rust time-functions Duration and Instant work with nanoseconds by default, it is much simpler to convert a PTS to nanoseconds, that is why the following constant has been added.