aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-05-30 15:02:07 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-06-12 12:01:32 +0200
commit640e401aedb3c8b77bdbed51f799c97171e4c483 (patch)
treed0df25b179fc162ca8b13b2ee9b257d0a9942487
parent914d6a7c1a7a1850b4053847a784b174c9146c55 (diff)
downloadffmpeg-640e401aedb3c8b77bdbed51f799c97171e4c483.tar.gz
tests/ref/fate/nuv-rtjpeg: Preserve the original timestamps
The tests previously rounded the timestamps. Its better in a fate test to preserve the data from the demuxer and decoder. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tests/fate/video.mak2
-rw-r--r--tests/ref/fate/nuv-rtjpeg18
2 files changed, 10 insertions, 10 deletions
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 43c3432c95..be1458c8bb 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -259,7 +259,7 @@ fate-mxpeg: CMD = framecrc -idct simple -flags +bitexact -i $(TARGET_SAMPLES)/mx
# FIXME dropped frames in this test because of coarse timebase
FATE_NUV += fate-nuv-rtjpeg
-fate-nuv-rtjpeg: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/nuv/Today.nuv -an
+fate-nuv-rtjpeg: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/nuv/Today.nuv -an -r 1000
FATE_NUV += fate-nuv-rtjpeg-fh
fate-nuv-rtjpeg-fh: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/nuv/rtjpeg_frameheader.nuv -an
diff --git a/tests/ref/fate/nuv-rtjpeg b/tests/ref/fate/nuv-rtjpeg
index e4a5be6263..b6f3b080dc 100644
--- a/tests/ref/fate/nuv-rtjpeg
+++ b/tests/ref/fate/nuv-rtjpeg
@@ -1,13 +1,13 @@
-#tb 0: 100/2997
+#tb 0: 1/1000
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 640x480
#sar 0: 1/1
-0, 4, 4, 1, 460800, 0x54aedafe
-0, 5, 5, 1, 460800, 0xb7aa8b56
-0, 6, 6, 1, 460800, 0x283ea3b5
-0, 7, 7, 1, 460800, 0x283ea3b5
-0, 8, 8, 1, 460800, 0x10e577de
-0, 9, 9, 1, 460800, 0x4e091ee2
-0, 10, 10, 1, 460800, 0x2ea88828
-0, 11, 11, 1, 460800, 0x4b7f4df0
+0, 118, 118, 0, 460800, 0x54aedafe
+0, 152, 152, 0, 460800, 0xb7aa8b56
+0, 177, 177, 0, 460800, 0x283ea3b5
+0, 202, 202, 0, 460800, 0x283ea3b5
+0, 235, 235, 0, 460800, 0x10e577de
+0, 269, 269, 0, 460800, 0x4e091ee2
+0, 302, 302, 0, 460800, 0x2ea88828
+0, 335, 335, 0, 460800, 0x4b7f4df0