summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Thelen <ffmpeg-dev@c-14.de>2015-12-06 05:00:54 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-07 10:39:17 +0100
commit6596c6fca7e8d94cca1eec21c692c8dd83aaf9cd (patch)
treed6ecd8377f7d3043267a552098fe0fb162ca2a96 /tests
parent5068fb1e2417acab11286847a757783427776bac (diff)
fate: add limited_input_seek tests
Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/ffmpeg.mak6
-rw-r--r--tests/ref/fate/limited_input_seek1
-rw-r--r--tests/ref/fate/limited_input_seek-copyts1
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index 551d8e7b4b..2061cd71a0 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 0000000000..e0c4bf151a
--- /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 0000000000..92790a8b9b
--- /dev/null
+++ b/tests/ref/fate/limited_input_seek-copyts
@@ -0,0 +1 @@
+ec3604b1954ed80de364b8ef491771ce