From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18545 invoked by alias); 30 Apr 2011 21:35:28 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29116 Received: (qmail 14038 invoked from network); 30 Apr 2011 21:35:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at ntlworld.com designates 81.103.221.56 as permitted sender) Date: Sat, 30 Apr 2011 21:59:44 +0100 From: Peter Stephenson To: Subject: Re: Small patch for FFmpeg completion function Message-ID: <20110430215944.37050931@pws-pc.ntlworld.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.0; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=JvdXmxIgLJv2/GthKqHpGJEEHukvLcvELVXUanXFreg= c=1 sm=0 a=nCki0V8Ojt8A:10 a=uObrxnre4hsA:10 a=kj9zAlcOel0A:10 a=NLZqzBF-AAAA:8 a=GqkPRuhA9btG3UD4pn8A:9 a=CjuIK1q_8ugA:10 a=_dQi-Dcv4p4A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 On Thu, 28 Apr 2011 16:46:19 +0200 Haakon Riiser wrote: > On Tue, 26 Apr 2011 23:48:21 +0200, Haakon Riiser > 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. Thanks, committed this without doing more than a cursory scan of it --- no doubt someone will say if they're having problems. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/