shaka-project / shaka-packager

A media packaging and development framework for VOD and Live DASH and HLS applications, supporting Common Encryption for Widevine and other DRM Systems.
https://shaka-project.github.io/shaka-packager/
Other
2.01k stars 512 forks source link

fix: duration formatting and update mpd testdata to reflect new format #1320

Closed cosmin closed 9 months ago

cosmin commented 11 months ago

As part of the CMake port we updated the duration formatting to contain maximum of 6 decimal places but without trailing 0s. There was a bug however where it used 6 significant digits rather than 6 decimal places (%g rather than %f).

This fixes the bug and also updates the MPD sample files for the integration tests to contain maximum of 6 decimal places.