diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-03-04 16:23:31 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-03-08 09:29:54 +0100 |
commit | abd7da0af95c9cbf077a28bdf8b4223c49db9654 (patch) | |
tree | 55034fd629eb3fb43d05b0dfe506a0975136f920 /libavfilter/internal.h | |
parent | 6b1f41e152cb05e9eed13baec2dca704bf917db0 (diff) | |
download | ffmpeg-abd7da0af95c9cbf077a28bdf8b4223c49db9654.tar.gz |
lavfi: deprecate avfilter_config_links()
It never makes sense for this function to be called by users.
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r-- | libavfilter/internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h index 0e3f68d1f4..000f94cb16 100644 --- a/libavfilter/internal.h +++ b/libavfilter/internal.h @@ -246,6 +246,14 @@ int ff_parse_channel_layout(AVChannelLayout *ret, int *nret, const char *arg, */ void ff_avfilter_link_set_in_status(AVFilterLink *link, int status, int64_t pts); +/** + * Negotiate the media format, dimensions, etc of all inputs to a filter. + * + * @param filter the filter to negotiate the properties for its inputs + * @return zero on successful negotiation + */ +int ff_filter_config_links(AVFilterContext *filter); + #define D2TS(d) (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d)) #define TS2D(ts) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) #define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts) * av_q2d(tb)) |