From patchwork Thu May 30 14:03:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 13342 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 161954468A0 for ; Thu, 30 May 2019 17:05:26 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F360C68A754; Thu, 30 May 2019 17:05:25 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-pe08-2.mx.upcmail.net (vie01a-dmta-pe08-2.mx.upcmail.net [84.116.36.21]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0805868A6E6 for ; Thu, 30 May 2019 17:05:18 +0300 (EEST) Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe08.mx.upcmail.net with esmtp (Exim 4.91) (envelope-from ) id 1hWLgD-0004zW-2x for ffmpeg-devel@ffmpeg.org; Thu, 30 May 2019 16:05:17 +0200 Received: from localhost ([213.47.41.20]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id WLfFhW9hU5D5NWLfFh9yOJ; Thu, 30 May 2019 16:04:17 +0200 X-Env-Mailfrom: michael@niedermayer.cc X-Env-Rcptto: ffmpeg-devel@ffmpeg.org X-SourceIP: 213.47.41.20 X-CNFS-Analysis: v=2.3 cv=bu8y+3Si c=1 sm=1 tr=0 a=I1eytVlZLDX1BM2VTtTtSw==:117 a=I1eytVlZLDX1BM2VTtTtSw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=GEAsPZ9sns4A:10 a=ZZnuYtJkoWoA:10 a=i18QCrb7qQWflZUokM8A:9 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Thu, 30 May 2019 16:03:59 +0200 Message-Id: <20190530140400.6205-3-michael@niedermayer.cc> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190530140400.6205-1-michael@niedermayer.cc> References: <20190530140400.6205-1-michael@niedermayer.cc> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfE1vfttvujNH/ZU3vosoa23vKHLxBlay+2ogU/hTf9+uKHEQdqB15Sj3cVyfPb9BkhxsjiH0u2heDAiGyxx/IrmVaIV+3LZUedPfO29GbFyrjwrsrKrn GInG17ohKTk2SVQO1ViQ8BN/5OTuLOrpQxRe7nNSioyQ2l0zZPr8ZnuC Subject: [FFmpeg-devel] [PATCH 3/4] tests/ref/fate/nuv-rtjpeg: Preserve the original timestamps X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" 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