[FFmpeg-devel] [PATCH] fate: add limited_input_seek tests

Simon Thelen ffmpeg-dev at c-14.de
Sun Dec 6 05:00:54 CET 2015


Signed-off-by: Simon Thelen <ffmpeg-dev at c-14.de>
---
 tests/fate/ffmpeg.mak                    | 6 ++++++
 tests/ref/fate/limited_input_seek        | 1 +
 tests/ref/fate/limited_input_seek-copyts | 1 +
 3 files changed, 8 insertions(+)
 create mode 100644 tests/ref/fate/limited_input_seek
 create mode 100644 tests/ref/fate/limited_input_seek-copyts

diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index 551d8e7..2061cd7 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
@@ -46,3 +46,9 @@ fate-unknown_layout-ac3: $(AREF)
 fate-unknown_layout-ac3: CMD = md5 \
   -guess_layout_max 0 -f s16le -ac 1 -ar 44100 -i $(TARGET_PATH)/$(AREF) \
   -f ac3 -flags +bitexact -c ac3_fixed
+
+FATE_SAMPLES_FFMPEG-$(call DEMMUX, OGG, OGG) += fate-limited_input_seek fate-limited_input_seek-copyts
+fate-limited_input_seek: $(TARGET_SAMPLES)/vorbis/moog_small.ogg
+fate-limited_input_seek: CMD = md5 -ss 1.5 -t 1.3 -i $(TARGET_SAMPLES)/vorbis/moog_small.ogg -c:a copy -fflags +bitexact -f ogg
+fate-limited_input_seek-copyts: $(TARGET_SAMPLES)/vorbis/moog_small.ogg
+fate-limited_input_seek-copyts: CMD = md5 -ss 1.5 -t 1.3 -i $(TARGET_SAMPLES)/vorbis/moog_small.ogg -c:a copy -copyts -fflags +bitexact -f ogg
diff --git a/tests/ref/fate/limited_input_seek b/tests/ref/fate/limited_input_seek
new file mode 100644
index 0000000..e0c4bf1
--- /dev/null
+++ b/tests/ref/fate/limited_input_seek
@@ -0,0 +1 @@
+20a1bb9a1cfb23c1fe86f14e6065cd95
diff --git a/tests/ref/fate/limited_input_seek-copyts b/tests/ref/fate/limited_input_seek-copyts
new file mode 100644
index 0000000..92790a8
--- /dev/null
+++ b/tests/ref/fate/limited_input_seek-copyts
@@ -0,0 +1 @@
+ec3604b1954ed80de364b8ef491771ce
-- 
2.6.3



More information about the ffmpeg-devel mailing list