[FFmpeg-devel] [PATCH] libavfilter: add vf_hue.c

Nicolas George nicolas.george at normalesup.org
Sat Aug 11 12:05:31 CEST 2012


Le quintidi 25 thermidor, an CCXX, Stefano Sabatini a écrit :
> I'm fine with it if people insist with syntax backward compatibility,
> with the possibility to extend it later. If it turns out too complex
> to maintain both syntaxes I suggest to deprecate and drop this one.

I would like to suggest that (and I am willing to implement it if it is
deemed a good idea)

/**
 * Equivalent to av_set_options_string(obj, args, "=", ":"),
 * except that if the first fields in args do not have the '=' char, then
 * the options are set in order: the first field sets the first option, the
 * second field sets the second (distinct) option, etc.
 */
int av_set_options_string(void *obj, char *args);

It would make an interesting short syntax for a lot of filters. The API
could be refined, so that maybe only a few very important options would be
eligible for short syntax.

Regards,

-- 
  Nicolas George
-------------- 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/20120811/4634be3e/attachment.asc>


More information about the ffmpeg-devel mailing list