From 440616b9400d6d6a4705b6feedcd5439cd9e54c2 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 13 Jun 2023 16:39:12 +0200 Subject: [PATCH] avfilter/avfilter: add flag to signal filters that support w/h change Signed-off-by: Paul B Mahol --- libavfilter/avfilter.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index d69381aed4..f5df36dd65 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -159,6 +159,12 @@ enum AVMediaType avfilter_pad_get_type(const AVFilterPad *pads, int pad_idx); */ #define AVFILTER_FLAG_SUPPORT_TIMELINE (AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL) +/** + * The filter supports variable image size processing. This means + * input frames width and/or height can change in size. + */ +#define AVFILTER_FLAG_SUPPORT_VARIABLE_IMAGE_SIZE (1 << 18) + /** * Filter definition. This defines the pads a filter contains, and all the * callback functions used to interact with the filter. -- 2.39.1