From 546017fc7909c085a6f57dbf8f63b28be7293b00 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 2 Aug 2010 11:56:51 +0000 Subject: Sort lavfi pixdesc tests. Increase readability and robustness, as the test result is not going to differ if the order of the pixfmts codes changes. Originally committed as revision 24665 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/lavfi-regression.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lavfi-regression.sh') diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh index 2ef52d4567..ca77741a72 100755 --- a/tests/lavfi-regression.sh +++ b/tests/lavfi-regression.sh @@ -65,7 +65,7 @@ do_lavfi_pixfmts "scale" "200:100" do_lavfi_pixfmts "vflip" "" if [ -n "$do_pixdesc_be" ] || [ -n "$do_pixdesc_le" ]; then - pix_fmts="$($ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^IO' | cut -d' ' -f2)" + pix_fmts="$($ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^IO' | cut -d' ' -f2 | sort)" for pix_fmt in $pix_fmts; do output=lavfi_pixdesc-${pix_fmt}.nut do_video_encoding $output "" \ -- cgit v1.2.3