[FFmpeg-devel] [PATCH 2/2] fate: add test for -limit_transfer_len
Michael Niedermayer
michaelni at gmx.at
Sun Mar 30 20:20:34 CEST 2014
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
tests/fate/avformat.mak | 2 +-
tests/lavf-regression.sh | 4 ++++
tests/ref/lavf/nutbuf | 3 +++
3 files changed, 8 insertions(+), 1 deletion(-)
create mode 100644 tests/ref/lavf/nutbuf
diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak
index 5f9c8c1..1c0af19 100644
--- a/tests/fate/avformat.mak
+++ b/tests/fate/avformat.mak
@@ -22,7 +22,7 @@ FATE_LAVF-$(call ENCDEC2, MPEG1VIDEO, MP2, MPEG1SYSTEM MPEGPS) += mpg
FATE_LAVF-$(call ENCDEC, PCM_MULAW, PCM_MULAW) += mulaw
FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, MXF) += mxf
FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, MXF_D10 MXF) += mxf_d10
-FATE_LAVF-$(call ENCDEC2, MPEG4, MP2, NUT) += nut
+FATE_LAVF-$(call ENCDEC2, MPEG4, MP2, NUT) += nut nutbuf
FATE_LAVF-$(call ENCDEC, FLAC, OGG) += ogg
FATE_LAVF-$(call ENCDEC, PAM, IMAGE2) += pam
FATE_LAVF-$(call ENCDEC, PBM, IMAGE2PIPE) += pbmpipe
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index 897dc63..5da0373 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -136,6 +136,10 @@ if [ -n "$do_nut" ] ; then
do_lavf nut "" "-acodec mp2 -ab 64k"
fi
+if [ -n "$do_nutbuf" ] ; then
+do_lavf nut "-limit_transfer_len 1" "-limit_transfer_len 1 -acodec mp2 -ab 64k"
+fi
+
if [ -n "$do_mkv" ] ; then
do_lavf mkv "" "-acodec mp2 -ab 64k -vcodec mpeg4 \
-attach ${raw_src%/*}/00.pgm -metadata:s:t mimetype=image/x-portable-greymap"
diff --git a/tests/ref/lavf/nutbuf b/tests/ref/lavf/nutbuf
new file mode 100644
index 0000000..6c42a40
--- /dev/null
+++ b/tests/ref/lavf/nutbuf
@@ -0,0 +1,3 @@
+66386a488ee35e4592b605f63ef90a73 *./tests/data/lavf/lavf.nut
+319902 ./tests/data/lavf/lavf.nut
+./tests/data/lavf/lavf.nut CRC=0xec6c3c68
--
1.7.9.5
More information about the ffmpeg-devel
mailing list