diff options
author | Paras Chadha <paraschadha18@gmail.com> | 2017-08-29 23:06:42 +0530 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-08-30 12:13:02 +0200 |
commit | 9d99f0afbeedf3e170478c3e8c05789bf2eef48f (patch) | |
tree | c0bdbdabd1317dfc0966783795536a151c667117 /tests/lavf-regression.sh | |
parent | df475db9a29e5f3e93dc5f4faa663d30f75ec80b (diff) |
FATE: Add FITS tests
Signed-off-by: Paras Chadha <paraschadha18@gmail.com>
Diffstat (limited to 'tests/lavf-regression.sh')
-rwxr-xr-x | tests/lavf-regression.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index eda40f25db..d9026de021 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -230,6 +230,15 @@ do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -q #do_avconv_crc $file -i $target_path/$file fi +if [ -n "$do_fits" ] ; then +pix_fmts="gray gray16be gbrp gbrap gbrp16be gbrap16be" +for pix_fmt in $pix_fmts ; do + file=${outfile}${pix_fmt}lavf.fits + do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -pix_fmt $pix_fmt + do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt $pix_fmt +done +fi + # image formats if [ -n "$do_pgm" ] ; then |