From 640e401aedb3c8b77bdbed51f799c97171e4c483 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 30 May 2019 15:02:07 +0200 Subject: [PATCH] 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 --- tests/fate/video.mak | 2 +- tests/ref/fate/nuv-rtjpeg | 18 +++++++++--------- 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