lavfi/avfilter: move AVFilterContext.ready to FFFilterContext

This field is private to the generic filtering code.
This commit is contained in:
Anton Khirnov
2024-10-03 19:15:58 +02:00
parent e0eec71a13
commit b1247e7c1f
5 changed files with 29 additions and 13 deletions

View File

@@ -102,6 +102,13 @@ typedef struct FFFilterContext {
// AV_CLASS_STATE_FLAG_*
unsigned state_flags;
/**
* Ready status of the filter.
* A non-0 value means that the filter needs activating;
* a higher value suggests a more urgent activation.
*/
unsigned ready;
} FFFilterContext;
static inline FFFilterContext *fffilterctx(AVFilterContext *ctx)