summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-07-30 19:11:27 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-08-29 15:14:32 +0200
commite0c973e5bea94dc70baf20d5a36e123b1ca1f901 (patch)
treed4b98af78aae87f0e92648d64d8389fa8c0590e9 /tests
parenta80fdbcf13919d1280278e71c4ae29e760fb82ab (diff)
downloadffmpeg-streaming-e0c973e5bea94dc70baf20d5a36e123b1ca1f901.zip
ffmpeg-streaming-e0c973e5bea94dc70baf20d5a36e123b1ca1f901.tar.gz
avformat/mpsubdec: Remove floating point usage
This makes the code bitexact between platforms. Intermediate timestamps between frames are preserved. The timebase is simplified. Rounding differs from doubles in cases where timestamps/durations are "funny" Suggested-by: jb Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/sub-mpsub-frames4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/fate/sub-mpsub-frames b/tests/ref/fate/sub-mpsub-frames
index 64528ec..1769578 100644
--- a/tests/ref/fate/sub-mpsub-frames
+++ b/tests/ref/fate/sub-mpsub-frames
@@ -10,5 +10,5 @@ Style: Default,Arial,16,&Hffffff,&Hffffff,&H0,&H0,0,0,0,0,100,100,0,0,1,1,0,2,10
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
-Dialogue: 0,0:00:01.00,0:00:02.48,Default,,0,0,0,,Start at 1sec,\Nlast 1.5 seconds
-Dialogue: 0,0:00:02.52,0:00:11.52,Default,,0,0,0,,One frame later,\Nduring 9 seconds
+Dialogue: 0,0:00:01.00,0:00:02.50,Default,,0,0,0,,Start at 1sec,\Nlast 1.5 seconds
+Dialogue: 0,0:00:02.54,0:00:11.54,Default,,0,0,0,,One frame later,\Nduring 9 seconds
OpenPOWER on IntegriCloud