[FFmpeg-devel] [PATCH] Add 'drawgrid' video filter

Michael Niedermayer michaelni at gmx.at
Mon May 13 20:15:54 CEST 2013


On Mon, May 13, 2013 at 03:13:43PM +0300, Andrey Utkin wrote:
> ---
>  doc/filters.texi          |  39 +++++++++
>  libavfilter/Makefile      |   1 +
>  libavfilter/allfilters.c  |   1 +
>  libavfilter/vf_drawgrid.c | 206 ++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 247 insertions(+)
>  create mode 100644 libavfilter/vf_drawgrid.c
[...]
> +AVFilter avfilter_vf_drawgrid = {
> +    .name          = "drawgrid",
> +    .description   = NULL_IF_CONFIG_SMALL("Draw a colored grid on the input video."),
> +    .priv_size     = sizeof(DrawGridContext),
> +    .priv_class    = &drawgrid_class,
> +    .init          = init,
> +    .query_formats = query_formats,
> +    .inputs        = avfilter_vf_drawgrid_inputs,
> +    .outputs       = avfilter_vf_drawgrid_outputs,
> +    .flags         = AVFILTER_FLAG_SUPPORT_TIMELINE,
> +};

This causes:

Assertion (filter->flags & ((1 << 16) | (1 << 17))) != ((1 << 16) | (1 << 17)) failed at libavfilter/avfilter.c:457

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

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- 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/20130513/709af1b1/attachment.asc>


More information about the ffmpeg-devel mailing list