mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avfilter/avfilter: Remove deprecated avfilter_link_set_closed()
Deprecated in 39a09e995d
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
ec82ff89b6
commit
4de2b035a7
@ -225,12 +225,6 @@ void ff_avfilter_link_set_out_status(AVFilterLink *link, int status, int64_t pts
|
||||
ff_filter_set_ready(link->src, 200);
|
||||
}
|
||||
|
||||
#if FF_API_FILTER_LINK_SET_CLOSED
|
||||
void avfilter_link_set_closed(AVFilterLink *link, int closed)
|
||||
{
|
||||
ff_avfilter_link_set_out_status(link, closed ? AVERROR_EOF : 0, AV_NOPTS_VALUE);
|
||||
}
|
||||
#endif
|
||||
int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt,
|
||||
unsigned filt_srcpad_idx, unsigned filt_dstpad_idx)
|
||||
{
|
||||
|
@ -665,15 +665,6 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad,
|
||||
*/
|
||||
void avfilter_link_free(AVFilterLink **link);
|
||||
|
||||
#if FF_API_FILTER_LINK_SET_CLOSED
|
||||
/**
|
||||
* Set the closed field of a link.
|
||||
* @deprecated applications are not supposed to mess with links, they should
|
||||
* close the sinks.
|
||||
*/
|
||||
attribute_deprecated
|
||||
void avfilter_link_set_closed(AVFilterLink *link, int closed);
|
||||
#endif
|
||||
/**
|
||||
* Negotiate the media format, dimensions, etc of all inputs to a filter.
|
||||
*
|
||||
|
@ -53,9 +53,6 @@
|
||||
#ifndef FF_API_SWS_PARAM_OPTION
|
||||
#define FF_API_SWS_PARAM_OPTION (LIBAVFILTER_VERSION_MAJOR < 8)
|
||||
#endif
|
||||
#ifndef FF_API_FILTER_LINK_SET_CLOSED
|
||||
#define FF_API_FILTER_LINK_SET_CLOSED (LIBAVFILTER_VERSION_MAJOR < 8)
|
||||
#endif
|
||||
#ifndef FF_API_BUFFERSINK_ALLOC
|
||||
#define FF_API_BUFFERSINK_ALLOC (LIBAVFILTER_VERSION_MAJOR < 9)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user