Do not exclude anymore the pixel formats rgb444, bgr444, rgb4_byte,

and bgr4_byte from the lavfi-pix_fmts test.

The formats are now supported by NUT.

Originally committed as revision 23510 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2010-06-06 18:50:27 +00:00
parent c32b701749
commit e59cfd7850
1 changed files with 2 additions and 3 deletions

View File

@ -68,9 +68,8 @@ vflip
" "
if [ -n "$do_lavfi_pix_fmts" ]; then if [ -n "$do_lavfi_pix_fmts" ]; then
# exclude pixel formats currently not supported by NUT and which are not supported as input # exclude pixel formats which are not supported as input
excluded_pix_fmts="rgb4_byte bgr4_byte rgb444le rgb444be bgr444le bgr444be" excluded_pix_fmts="$(ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^\..\.' | cut -d' ' -f2)"
excluded_pix_fmts="$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=$(tools/lavfi-showfiltfmts scale | grep "^OUTPUT" | cut -d: -f2)
scale_out_pix_fmts=$(get_exclusive_elements "$scale_out_pix_fmts" "$excluded_pix_fmts") scale_out_pix_fmts=$(get_exclusive_elements "$scale_out_pix_fmts" "$excluded_pix_fmts")