summaryrefslogtreecommitdiff
path: root/tests/lavfi-regression.sh
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-08-01 10:27:04 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-08-01 10:27:04 +0000
commit43d2c6a5113c0d1e76fa7439f832969cd3b4ccc5 (patch)
tree08ea62eceb42b76174d6cce5886cf7212d1bb7b3 /tests/lavfi-regression.sh
parent2b346e042ea47f6c8db5c6322ec3ecb57913808a (diff)
Fix fate-lavfi-pixfmts test cross-compilation.
Add the lavfi-showfiltfmts dependency in the Makefile, and correctly use the $target_exec and $target_path variables for invoking the lavfi-showfiltfmts tool. Originally committed as revision 24645 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/lavfi-regression.sh')
-rwxr-xr-xtests/lavfi-regression.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh
index 9cd5a6ec3d..691b0f8540 100755
--- a/tests/lavfi-regression.sh
+++ b/tests/lavfi-regression.sh
@@ -66,15 +66,16 @@ vflip
"
if [ -n "$do_pixfmts_be" ] || [ -n "$do_pixfmts_le" ]; then
+ showfiltfmts="$target_exec $target_path/tools/lavfi-showfiltfmts"
# exclude pixel formats which are not supported as input
excluded_pix_fmts="$($ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^\..\.' | cut -d' ' -f2)"
- scale_out_pix_fmts=$(tools/lavfi-showfiltfmts scale | grep "^OUTPUT" | cut -d: -f2)
+ scale_out_pix_fmts=$($showfiltfmts scale | grep "^OUTPUT" | cut -d: -f2)
scale_out_pix_fmts=$(get_exclusive_elements "$scale_out_pix_fmts" "$excluded_pix_fmts")
for filter_args in $filters_args; do
filter=$(echo $filter_args | sed -e 's/\([^=]\+\)=.*/\1/')
- in_pix_fmts=$(tools/lavfi-showfiltfmts $filter | grep "^INPUT" | cut -d: -f2)
+ in_pix_fmts=$($showfiltfmts $filter | grep "^INPUT" | cut -d: -f2)
pix_fmts=$(get_common_elements "$in_pix_fmts" "$scale_out_pix_fmts")
for pix_fmt in $pix_fmts; do