summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_ffmpeg
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2026-05-07 20:07:50 +0200
committerMikael Magnusson <mikachu@gmail.com>2026-05-16 18:28:26 +0200
commitdd4666d82ec24777c47a8f0ffcdc2dde417d7802 (patch)
tree73d373828fccfc29ecb748eb72d43824d1ee8458 /Completion/Unix/Command/_ffmpeg
parent54531: completers: remove spurious ; in "case $foo; in" (diff)
downloadzsh-dd4666d82ec24777c47a8f0ffcdc2dde417d7802.tar
zsh-dd4666d82ec24777c47a8f0ffcdc2dde417d7802.tar.gz
zsh-dd4666d82ec24777c47a8f0ffcdc2dde417d7802.tar.bz2
zsh-dd4666d82ec24777c47a8f0ffcdc2dde417d7802.tar.lz
zsh-dd4666d82ec24777c47a8f0ffcdc2dde417d7802.tar.xz
zsh-dd4666d82ec24777c47a8f0ffcdc2dde417d7802.tar.zst
zsh-dd4666d82ec24777c47a8f0ffcdc2dde417d7802.zip
54532: completers: various small fixes
_find: - and + were reversed compared to the disp string _zstyle: fix typo breaking chpwd-specific style completion _sudo: minor typo in exclusion list _rsync: fix some minor thinkos _ip: fix a few typos _sort: remove double --ignore-nonprinting line _df: fix typo widge -> wedge _tmux: fix various issues _mount: defperm confusion _sed: typo _netstat: fix -4/-6 typo _wget: fix some syntactical typos _subversion: fix using wrong cache name _lsof: typo _ffmpeg: fix copy-pasto in for scodecs _ansible: --skip-tags also takes tags
Diffstat (limited to 'Completion/Unix/Command/_ffmpeg')
-rw-r--r--Completion/Unix/Command/_ffmpeg4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_ffmpeg b/Completion/Unix/Command/_ffmpeg
index e5afdac4f..9c91fe386 100644
--- a/Completion/Unix/Command/_ffmpeg
+++ b/Completion/Unix/Command/_ffmpeg
@@ -23,8 +23,8 @@ typeset -A opt_args
(( $+functions[_ffmpeg_scodecs] )) || _ffmpeg_scodecs() {
local scodecs
- scodecs=(copy ${${(M)${(f)"$(_call_program video-codecs $words[1] -codecs 2>/dev/null)"}:#[[:space:]][D[:space:]][E[:space:]]S[S[:space:]][D[:space:]][T[:space:]][[:space:]][^[:space:]]##*}//(#b)????????([^[:space:]]##)*/$match[1]})
- _wanted ffmpeg-video-codecs expl 'force video codec (''copy'' to copy stream)' compadd -a scodecs
+ scodecs=(copy ${${(M)${(f)"$(_call_program subtitle-codecs $words[1] -codecs 2>/dev/null)"}:#[[:space:]][D[:space:]][E[:space:]]S[S[:space:]][D[:space:]][T[:space:]][[:space:]][^[:space:]]##*}//(#b)????????([^[:space:]]##)*/$match[1]})
+ _wanted ffmpeg-subtitle-codecs expl 'force subtitle codec (''copy'' to copy stream)' compadd -a scodecs
}
(( $+functions[_ffmpeg_formats] )) || _ffmpeg_formats() {