[FFmpeg-cvslog] fate: add smjpegenc test

Paul B Mahol git at videolan.org
Mon Nov 5 12:25:59 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Nov  5 00:05:10 2012 +0000| [17e67c532100024e1fe8fef69b3d99c82f393b9a] | committer: Paul B Mahol

fate: add smjpegenc test

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=17e67c532100024e1fe8fef69b3d99c82f393b9a
---

 tests/fate/avformat.mak  |    1 +
 tests/lavf-regression.sh |    4 ++++
 tests/ref/lavf/smjpeg    |    3 +++
 3 files changed, 8 insertions(+)

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



More information about the ffmpeg-cvslog mailing list