[FFmpeg-devel] [PATCH] fate: add smjpegenc test
Paul B Mahol
onemda at gmail.com
Mon Nov 5 01:14:43 CET 2012
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
tests/fate/avformat.mak | 1 +
tests/lavf-regression.sh | 4 ++++
tests/ref/lavf/smjpeg | 3 +++
3 files changed, 8 insertions(+)
create mode 100644 tests/ref/lavf/smjpeg
diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak
index 56d56fb..77c6a2f 100644
--- a/tests/fate/avformat.mak
+++ b/tests/fate/avformat.mak
@@ -33,6 +33,7 @@ FATE_LAVF-$(call ENCDEC, PPM, IMAGE2PIPE) += ppmpipe
FATE_LAVF-$(call ENCMUX, RV10 AC3_FIXED, RM) += rm
FATE_LAVF-$(call ENCDEC, PCM_U8, RSO) += rso
FATE_LAVF-$(call ENCDEC, SGI, IMAGE2) += sgi
+FATE_LAVF-$(call ENCMUX, MJPEG PCM_S16LE, SMJPEG) += smjpeg
FATE_LAVF-$(call ENCDEC, PCM_S16LE, SOX) += sox
FATE_LAVF-$(call ENCDEC, SUNRAST, IMAGE2) += sunrast
FATE_LAVF-$(call ENCDEC, FLV, SWF) += swf
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index ef61b6c..281286d 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -302,6 +302,10 @@ if [ -n "$do_rso" ] ; then
do_audio_only rso
fi
+if [ -n "$do_smjpeg" ] ; then
+do_lavf smjpeg "" "-f smjpeg"
+fi
+
if [ -n "$do_sox" ] ; then
do_audio_only sox
fi
diff --git a/tests/ref/lavf/smjpeg b/tests/ref/lavf/smjpeg
new file mode 100644
index 0000000..3e7e8ed
--- /dev/null
+++ b/tests/ref/lavf/smjpeg
@@ -0,0 +1,3 @@
+2f6e613e9e257545e1048d57de92ba92 *./tests/data/lavf/lavf.smjpeg
+791463 ./tests/data/lavf/lavf.smjpeg
+./tests/data/lavf/lavf.smjpeg CRC=0x557714ff
--
1.7.11.2
More information about the ffmpeg-devel
mailing list