x264 source for verification 2026-05-22

This commit is contained in:
2026-05-22 16:45:04 +08:00
commit 4647f166e5
270 changed files with 166522 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
_x264()
{
local path args cur prev
path="${COMP_LINE%%[[:blank:]]*}"
args="${COMP_LINE:${#path}:$((COMP_POINT-${#path}))}"
cur="${args##*[[:blank:]=]}"
prev="$(sed 's/[[:blank:]=]*$//; s/^.*[[:blank:]]//' <<< "${args%%"$cur"}")"
# Expand ~
printf -v path '%q' "$path" && eval path="${path/#'\~'/'~'}"
COMPREPLY=($("$path" --autocomplete "$prev" "$cur")) && compopt +o default
} 2>/dev/null
complete -o default -F _x264 x264