ebu / libadm

Audio Definition Model (ITU-R BS.2076) handling library
https://libadm.readthedocs.io
Apache License 2.0
39 stars 16 forks source link

remove trailing zeros from times up to 5dp #169

Closed tomjnixon closed 2 years ago

tomjnixon commented 2 years ago

Decimal times are now written without trailing zeros past 5 decimal places. To interoperate with ADM parsers which don't support more than 5 digits, users should round times in the ADM document before writing.

closes #168

codecov-commenter commented 2 years ago

Codecov Report

Merging #169 (afd802c) into master (1f3e87d) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #169   +/-   ##
=======================================
  Coverage   89.38%   89.39%           
=======================================
  Files         125      125           
  Lines        5641     5646    +5     
=======================================
+ Hits         5042     5047    +5     
  Misses        599      599           
Impacted Files Coverage Δ
src/elements/time.cpp 98.64% <100.00%> (+0.09%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more