[FFmpeg-devel] [PATCH 5/5] lavfi: addroi filter

Marton Balint cus at passwd.hu
Thu Feb 28 19:35:45 EET 2019



On Wed, 27 Feb 2019, Mark Thompson wrote:

> This can be used to add region of interest side data to video frames.
> ---
> libavfilter/Makefile     |   1 +
> libavfilter/allfilters.c |   1 +
> libavfilter/vf_addroi.c  | 237 +++++++++++++++++++++++++++++++++++++++
> 3 files changed, 239 insertions(+)
> create mode 100644 libavfilter/vf_addroi.c

[...]

> +static const AVFilterPad addroi_inputs[] = {
> +    {
> +        .name         = "default",
> +        .type         = AVMEDIA_TYPE_VIDEO,
> +        .config_props = addroi_config_input,
> +        .filter_frame = addroi_filter_frame,

Please use the activate callback of AVFilter context instead.

Thanks,
Marton


More information about the ffmpeg-devel mailing list