On Sun, 01 May 2011 12:16:05 +0200
Haakon Riiser <haakon.riiser@xxxxxxxxxx> wrote:
I'm still working on perfecting the FFmpeg completion function, and
one
of the most important things missing is good completion of toggle
flags.
Here's an example of FFmpeg's toggle flag syntax:
ffmpeg -flags +gmc-global_header+cgop
[...]
I don't think there's a prepackaged way of doing this. I've had some
luck with the following. One thing it doesn't do is treat the + and
-
as separate from the options following, but a bit of patience might
sort
that out.
It's actually written to complete options for the fictitious "flags"
command, so you also have to insinuate it into ffmpeg completion
somehow.
[...]