[FFmpeg-devel] [PATCH] lavfi: rename AVFilterCommand.command to "verb"

Michael Niedermayer michaelni at gmx.at
Sun Sep 25 17:09:03 CEST 2011


On Sun, Sep 25, 2011 at 05:01:43PM +0200, Alexander Strasser wrote:
> Stefano Sabatini wrote:
> > On date Saturday 2011-09-24 22:06:30 +0200, Michael Niedermayer encoded:
> > > On Sat, Sep 24, 2011 at 09:52:08PM +0200, Alexander Strasser wrote:
> > > > Michael Niedermayer wrote:
> > > > > On Sat, Sep 24, 2011 at 03:04:55PM +0200, Stefano Sabatini wrote:
> > > > > > This avoids the confusing recursive terminology
> > > > > > (AVFilterCommand.command).
> > > > > 
> > > > > "verb" sounds really odd to me in this context.
> > > > 
> > > >   Maybe "name" or "id" would fit. Though "id" probably sounds a bit
> > > > too abstract.
> > > 
> > > "name" sounds good to me too
> > 
> > I named it like after the *TP (SMTP, HTTP, RTSP, SIP, etc.) protocols
> > family, where you can have requests (aka "commands") and answers (aka
> > "responses" aka "replies"), which are characterized by their "verb"
> > (aka "method").
> 
>   I knew you stole it from there :) I am familiar with some of the
> standards you quoted above. Therefore it was not that surprising to
> me you came up with that term.
> 
> > "name" suggests more an "identifier" rather than something which
> > specifies the semantics of the command.
> 
>   This is somehow off with me. As I see it the word command already
> implies imperative form of a verb. Therefore it is still a valid
> question to ask for the name of the command. In the sense of we 
> named the command <x>. I don't think stressing grammar terms too
> much is needed here.
> 
>   Anyway I am fine with any consensus you will reach. So please do
> not see my comments as objections!

iam also fine with all suggestions that where made, my preferrance
is command>name>verb though


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110925/04fe62ed/attachment.asc>


More information about the ffmpeg-devel mailing list