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

Michael Niedermayer michaelni at gmx.at
Mon May 13 20:18:08 CEST 2013


On Mon, May 13, 2013 at 08:15:54PM +0200, Michael Niedermayer wrote:
> 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

also, you might want to add yourself to MAINTAINERS for this filter

Thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- 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/acadb1c5/attachment.asc>


More information about the ffmpeg-devel mailing list