[FFmpeg-devel] [PATCH] lavfi/yadif: add support to named options and options introspection

Stefano Sabatini stefasab at gmail.com
Thu Jan 3 00:59:18 CET 2013


On date Wednesday 2013-01-02 17:27:27 +0100, Nicolas George encoded:
> Le tridi 13 nivôse, an CCXXI, Stefano Sabatini a écrit :
> > +static const AVOption yadif_options[] = {
> > +    { "mode",        "specify the interlacing mode", OFFSET(mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 3, FLAGS },
> > +    { "parity",      "specify the assumed picture field parity", OFFSET(parity), AV_OPT_TYPE_INT, {.i64=-1}, -1, 1, FLAGS },
> > +    { "enable", "specify for which frames to enable the deinterlacer", OFFSET(auto_enable), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS },
> 
> The alignment seems schizophrenic.
> 
> Apart from that, LGTM.

Updated with more changes.
-- 
FFmpeg = Free and Faithful Magic Peaceless Elected Gigant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-lavfi-yadif-add-support-to-named-options-and-options.patch
Type: text/x-diff
Size: 5916 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130103/bd1d2111/attachment.bin>


More information about the ffmpeg-devel mailing list