[FFmpeg-cvslog] r24667 - trunk/tests/lavfi-regression.sh
mru
subversion
Mon Aug 2 21:44:58 CEST 2010
Author: mru
Date: Mon Aug 2 21:44:58 2010
New Revision: 24667
Log:
lavfi-regression: trim \r line ends from showfiltfmts output
This is required when cross-testing on dos-like targets.
Modified:
trunk/tests/lavfi-regression.sh
Modified: trunk/tests/lavfi-regression.sh
==============================================================================
--- trunk/tests/lavfi-regression.sh Mon Aug 2 19:09:55 2010 (r24666)
+++ trunk/tests/lavfi-regression.sh Mon Aug 2 21:44:58 2010 (r24667)
@@ -44,9 +44,9 @@ do_lavfi_pixfmts(){
# exclude pixel formats which are not supported as input
$ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^\..\.' | cut -d' ' -f2 | sort >$exclude_fmts
- $showfiltfmts scale | awk '/^OUTPUT/{ print $3 }' | sort | comm -23 - $exclude_fmts >$out_fmts
+ $showfiltfmts scale | awk -F '[ \r]' '/^OUTPUT/{ print $3 }' | sort | comm -23 - $exclude_fmts >$out_fmts
- pix_fmts=$($showfiltfmts $filter | awk '/^INPUT/{ print $3 }' | sort | comm -12 - $out_fmts)
+ pix_fmts=$($showfiltfmts $filter | awk -F '[ \r]' '/^INPUT/{ print $3 }' | sort | comm -12 - $out_fmts)
for pix_fmt in $pix_fmts; do
output=${test}-${pix_fmt}.nut
do_video_encoding $output "" \
More information about the ffmpeg-cvslog
mailing list