summaryrefslogtreecommitdiff
path: root/tests/lavf-regression.sh
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-08 16:23:18 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-09 17:21:35 +0200
commitcabc0ac72f668be07f82c24aa4d3a4c964cb4c71 (patch)
tree6e433947b4ed6b1d85717a03fcbe38e754f7407c /tests/lavf-regression.sh
parent6458a08700a2d6df2e1930dc59c0ace5e5a67164 (diff)
Add gif and xbm regression tests.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'tests/lavf-regression.sh')
-rwxr-xr-xtests/lavf-regression.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index fcb8794800..97fdd3ff05 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -169,9 +169,18 @@ do_streamed_images ppm
fi
if [ -n "$do_gif" ] ; then
+# this tests the gif muxer
file=${outfile}lavf.gif
do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10 -pix_fmt rgb24
do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24
+# and this the gif encoder
+do_image_formats gif
+do_image_formats gif "-pix_fmt rgb4_byte"
+do_image_formats gif "-pix_fmt bgr4_byte"
+do_image_formats gif "-pix_fmt rgb8"
+do_image_formats gif "-pix_fmt bgr8"
+do_image_formats gif "-pix_fmt gray"
+do_image_formats gif "-pix_fmt pal8"
fi
if [ -n "$do_yuv4mpeg" ] ; then
@@ -196,6 +205,10 @@ do_image_formats png "-pix_fmt gray16be"
do_image_formats png "-pix_fmt rgb48be"
fi
+if [ -n "$do_xbm" ] ; then
+do_image_formats xbm
+fi
+
if [ -n "$do_bmp" ] ; then
do_image_formats bmp
fi