mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
lavfi: deprecate avfilter_config_links()
It never makes sense for this function to be called by users.
This commit is contained in:
@@ -682,15 +682,13 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad,
|
||||
*/
|
||||
attribute_deprecated
|
||||
void avfilter_link_free(AVFilterLink **link);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* 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
|
||||
* @deprecated this function should never be called by users
|
||||
*/
|
||||
attribute_deprecated
|
||||
int avfilter_config_links(AVFilterContext *filter);
|
||||
#endif
|
||||
|
||||
#define AVFILTER_CMD_FLAG_ONE 1 ///< Stop once a filter understood the command (for target=all for example), fast filters are favored automatically
|
||||
#define AVFILTER_CMD_FLAG_FAST 2 ///< Only execute command when its fast (like a video out that supports contrast adjustment in hw)
|
||||
|
||||
Reference in New Issue
Block a user