From 50be8f2142509bd14a8c245266959f166eb5c5d0 Mon Sep 17 00:00:00 2001 From: Michael Bradshaw Date: Fri, 9 Jun 2017 15:02:27 -0700 Subject: [PATCH] fate: add test for -time_base option Signed-off-by: Michael Bradshaw Signed-off-by: Michael Niedermayer --- tests/fate/ffmpeg.mak | 6 ++++++ tests/ref/fate/time_base | 1 + 2 files changed, 7 insertions(+) create mode 100644 tests/ref/fate/time_base diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak index 8199f81b36..0a9a4b6142 100644 --- a/tests/fate/ffmpeg.mak +++ b/tests/fate/ffmpeg.mak @@ -118,3 +118,9 @@ fate-ffmpeg-bsf-remove-e: CMD = transcode "mpeg" $(TARGET_SAMPLES)/mpeg2/matrixb FATE_SAMPLES_FFMPEG-yes += $(FATE_STREAMCOPY-yes) + +FATE_TIME_BASE-$(call ALLYES, MPEGPS_DEMUXER MXF_MUXER) += fate-time_base +fate-time_base: $(TARGET_SAMPLES)/mpeg2/dvd_single_frame.vob +fate-time_base: CMD = md5 -i $(TARGET_SAMPLES)/mpeg2/dvd_single_frame.vob -an -sn -c:v copy -r 25 -time_base 1001:30000 -fflags +bitexact -f mxf + +FATE_SAMPLES_FFMPEG-yes += $(FATE_TIME_BASE-yes) diff --git a/tests/ref/fate/time_base b/tests/ref/fate/time_base new file mode 100644 index 0000000000..eec4b21aa5 --- /dev/null +++ b/tests/ref/fate/time_base @@ -0,0 +1 @@ +ef9896ce045941607782e895aea930b6