From f5dc908a0d91d194104403dec61d53772e91ce2b Mon Sep 17 00:00:00 2001 From: Kongqun Yang Date: Thu, 29 Sep 2016 15:02:21 -0700 Subject: [PATCH] Implement utility function DoubleToString Implement our own DoubleToString as base::DoubleToString uses third_party library dmg_fp. Change-Id: I0d3d706cfd3de4f833b201110954419e585a21dd --- .../testdata/bear-320x240-opus-vp9-cenc-golden.mpd | 2 +- .../test/testdata/bear-320x240-vorbis-webm-golden.mpd | 2 +- .../testdata/bear-320x240-vp9-opus-webm-golden.mpd | 2 +- .../app/test/testdata/bear-640x360-av-cbc1-golden.mpd | 2 +- .../app/test/testdata/bear-640x360-av-cbcs-golden.mpd | 2 +- .../app/test/testdata/bear-640x360-av-cenc-golden.mpd | 2 +- .../test/testdata/bear-640x360-av-cenc-iop-golden.mpd | 2 +- .../app/test/testdata/bear-640x360-av-cens-golden.mpd | 2 +- packager/app/test/testdata/bear-640x360-av-golden.mpd | 2 +- packager/app/test/testdata/bear-640x360-avt-golden.mpd | 2 +- .../test/testdata/bear-640x360-hevc-cenc-golden.mpd | 2 +- packager/app/test/testdata/bear-640x360-v-golden.mpd | 2 +- .../app/test/testdata/bear-640x360-vp8-cenc-golden.mpd | 2 +- .../testdata/bear-640x360-vp8-cenc-webm-golden.mpd | 2 +- .../app/test/testdata/bear-640x360-vp8-webm-golden.mpd | 2 +- packager/mpd/base/mpd_builder_unittest.cc | 2 +- packager/mpd/base/mpd_utils.cc | 10 +++++++++- packager/mpd/base/mpd_utils.h | 5 +++++ packager/mpd/base/xml/xml_node.cc | 6 +++--- 19 files changed, 33 insertions(+), 20 deletions(-) diff --git a/packager/app/test/testdata/bear-320x240-opus-vp9-cenc-golden.mpd b/packager/app/test/testdata/bear-320x240-opus-vp9-cenc-golden.mpd index 7b14eb85b8..9da678f1b3 100644 --- a/packager/app/test/testdata/bear-320x240-opus-vp9-cenc-golden.mpd +++ b/packager/app/test/testdata/bear-320x240-opus-vp9-cenc-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-320x240-vorbis-webm-golden.mpd b/packager/app/test/testdata/bear-320x240-vorbis-webm-golden.mpd index 9126b13d21..d2d2096478 100644 --- a/packager/app/test/testdata/bear-320x240-vorbis-webm-golden.mpd +++ b/packager/app/test/testdata/bear-320x240-vorbis-webm-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-320x240-vp9-opus-webm-golden.mpd b/packager/app/test/testdata/bear-320x240-vp9-opus-webm-golden.mpd index 3e3610a38b..3efd0d4cfd 100644 --- a/packager/app/test/testdata/bear-320x240-vp9-opus-webm-golden.mpd +++ b/packager/app/test/testdata/bear-320x240-vp9-opus-webm-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-av-cbc1-golden.mpd b/packager/app/test/testdata/bear-640x360-av-cbc1-golden.mpd index 637d857bb5..34adc7f2b1 100644 --- a/packager/app/test/testdata/bear-640x360-av-cbc1-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-av-cbc1-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-av-cbcs-golden.mpd b/packager/app/test/testdata/bear-640x360-av-cbcs-golden.mpd index 0902dc5c82..51db761ee3 100644 --- a/packager/app/test/testdata/bear-640x360-av-cbcs-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-av-cbcs-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-av-cenc-golden.mpd b/packager/app/test/testdata/bear-640x360-av-cenc-golden.mpd index c5e6118775..d0e55e4035 100644 --- a/packager/app/test/testdata/bear-640x360-av-cenc-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-av-cenc-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-av-cenc-iop-golden.mpd b/packager/app/test/testdata/bear-640x360-av-cenc-iop-golden.mpd index 6b24d20039..bdc089982a 100644 --- a/packager/app/test/testdata/bear-640x360-av-cenc-iop-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-av-cenc-iop-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-av-cens-golden.mpd b/packager/app/test/testdata/bear-640x360-av-cens-golden.mpd index 34d4015453..0a2817bbd0 100644 --- a/packager/app/test/testdata/bear-640x360-av-cens-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-av-cens-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-av-golden.mpd b/packager/app/test/testdata/bear-640x360-av-golden.mpd index a68f94f8ca..8138233e10 100644 --- a/packager/app/test/testdata/bear-640x360-av-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-av-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-avt-golden.mpd b/packager/app/test/testdata/bear-640x360-avt-golden.mpd index 83ac21d945..cd25c4be61 100644 --- a/packager/app/test/testdata/bear-640x360-avt-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-avt-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-hevc-cenc-golden.mpd b/packager/app/test/testdata/bear-640x360-hevc-cenc-golden.mpd index 92286c92b7..94dd273f9b 100644 --- a/packager/app/test/testdata/bear-640x360-hevc-cenc-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-hevc-cenc-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-v-golden.mpd b/packager/app/test/testdata/bear-640x360-v-golden.mpd index fde6baafd9..7069a8538f 100644 --- a/packager/app/test/testdata/bear-640x360-v-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-v-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-vp8-cenc-golden.mpd b/packager/app/test/testdata/bear-640x360-vp8-cenc-golden.mpd index 271f9c4b6c..817ff0c2d5 100644 --- a/packager/app/test/testdata/bear-640x360-vp8-cenc-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-vp8-cenc-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-vp8-cenc-webm-golden.mpd b/packager/app/test/testdata/bear-640x360-vp8-cenc-webm-golden.mpd index 8a135e93f5..cca18189b7 100644 --- a/packager/app/test/testdata/bear-640x360-vp8-cenc-webm-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-vp8-cenc-webm-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/app/test/testdata/bear-640x360-vp8-webm-golden.mpd b/packager/app/test/testdata/bear-640x360-vp8-webm-golden.mpd index 5b99ab38b3..c108e7f2b2 100644 --- a/packager/app/test/testdata/bear-640x360-vp8-webm-golden.mpd +++ b/packager/app/test/testdata/bear-640x360-vp8-webm-golden.mpd @@ -1,6 +1,6 @@ - + diff --git a/packager/mpd/base/mpd_builder_unittest.cc b/packager/mpd/base/mpd_builder_unittest.cc index a6948f6e0c..cf2813b994 100644 --- a/packager/mpd/base/mpd_builder_unittest.cc +++ b/packager/mpd/base/mpd_builder_unittest.cc @@ -1912,7 +1912,7 @@ TEST_F(StaticMpdBuilderTest, AudioChannelConfigurationWithContentProtection) { " xsi:schemaLocation=\"urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd\"" " minBufferTime=\"PT2S\" type=\"static\"" " profiles=\"urn:mpeg:dash:profile:isoff-on-demand:2011\"" - " mediaPresentationDuration=\"PT24.00943374633789S\">" + " mediaPresentationDuration=\"PT24.0094S\">" " " " " "