Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Small patch for FFmpeg completion function



On Tue, 26 Apr 2011 23:48:21 +0200, Haakon Riiser <haakon.riiser@xxxxxxxxxx> wrote:
This is a patch for Completion/Unix/Command/_ffmpeg (CVS rev 1.2)
It adds the "copy" keyword as an extra completion to -acodec and -vcodec.

Decided to clean it up further. Obviously it is better to avoid having Perl as a dependency, so the attached version does everything using zsh scripting. It also uses _call_program and $words[1] instead of "ffmpeg" directly.

No differences other than that: The completion function should produce the same results as the previous one that used Perl. Because of the large diff, the entire completion function is attached. It is based on the last version I sent (which again is based on the last version in CVS).

--
 Haakon

Attachment: _ffmpeg
Description: Binary data



Messages sorted by: Reverse Date, Date, Thread, Author