Deprecated in 39a09e995d32d16e4f8c87a6ff5273cb9d98146e.
Unified · Split
| @@ -225,12 +225,6 @@ void ff_avfilter_link_set_out_status(AVFilterLink *link, int status, int64_t pts · 224 unmodified lines | |||
| 225 | ff_filter_set_ready(link->src, 200); | 225 | ff_filter_set_ready(link->src, 200); |
| 226 | } | 226 | } |
| 227 | 227 | ||
| 228 | #if FF_API_FILTER_LINK_SET_CLOSED | ||
| 229 | void avfilter_link_set_closed(AVFilterLink *link, int closed) | ||
| 230 | { | ||
| 231 | ff_avfilter_link_set_out_status(link, closed ? AVERROR_EOF : 0, AV_NOPTS_VALUE); | ||
| 232 | } | ||
| 233 | #endif | ||
| 234 | int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, | 228 | int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, |
| 235 | unsigned filt_srcpad_idx, unsigned filt_dstpad_idx) | 229 | unsigned filt_srcpad_idx, unsigned filt_dstpad_idx) |
| 236 | { | 230 | { |
| @@ -665,15 +665,6 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad, · 664 unmodified lines | |||
| 665 | */ | 665 | */ |
| 666 | void avfilter_link_free(AVFilterLink **link); | 666 | void avfilter_link_free(AVFilterLink **link); |
| 667 | 667 | ||
| 668 | #if FF_API_FILTER_LINK_SET_CLOSED | ||
| 669 | /** | ||
| 670 | * Set the closed field of a link. | ||
| 671 | * @deprecated applications are not supposed to mess with links, they should | ||
| 672 | * close the sinks. | ||
| 673 | */ | ||
| 674 | attribute_deprecated | ||
| 675 | void avfilter_link_set_closed(AVFilterLink *link, int closed); | ||
| 676 | #endif | ||
| 677 | /** | 668 | /** |
| 678 | * Negotiate the media format, dimensions, etc of all inputs to a filter. | 669 | * Negotiate the media format, dimensions, etc of all inputs to a filter. |
| 679 | * | 670 | * |
| @@ -53,9 +53,6 @@ · 52 unmodified lines | |||
| 53 | #ifndef FF_API_SWS_PARAM_OPTION | 53 | #ifndef FF_API_SWS_PARAM_OPTION |
| 54 | #define FF_API_SWS_PARAM_OPTION (LIBAVFILTER_VERSION_MAJOR < 8) | 54 | #define FF_API_SWS_PARAM_OPTION (LIBAVFILTER_VERSION_MAJOR < 8) |
| 55 | #endif | 55 | #endif |
| 56 | #ifndef FF_API_FILTER_LINK_SET_CLOSED | ||
| 57 | #define FF_API_FILTER_LINK_SET_CLOSED (LIBAVFILTER_VERSION_MAJOR < 8) | ||
| 58 | #endif | ||
| 59 | #ifndef FF_API_BUFFERSINK_ALLOC | 56 | #ifndef FF_API_BUFFERSINK_ALLOC |
| 60 | #define FF_API_BUFFERSINK_ALLOC (LIBAVFILTER_VERSION_MAJOR < 9) | 57 | #define FF_API_BUFFERSINK_ALLOC (LIBAVFILTER_VERSION_MAJOR < 9) |
| 61 | #endif | 58 | #endif |