From 17e67c532100024e1fe8fef69b3d99c82f393b9a Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 5 Nov 2012 00:05:10 +0000 Subject: [PATCH] fate: add smjpegenc test Signed-off-by: Paul B Mahol --- 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 56d56fb26f..77c6a2ff16 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 ef61b6c78f..281286d85e 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 0000000000..3e7e8edfa9 --- /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