History

avfilter/avfilter: Remove deprecated avfilter_link_set_closed()

Deprecated in 39a09e995d32d16e4f8c87a6ff5273cb9d98146e.

Andreas Rheinhardt committed 5 years ago

Commit 4de2b031 parent ec82ff83 files · +0 −18Browse files

Unified · Split

3 files
  1. libavfilter/avfilter.c +0 −6
  2. libavfilter/avfilter.h +0 −9
  3. libavfilter/version.h +0 −3
libavfilter/avfilter.c+0−6
@@ -225,12 +225,6 @@ void ff_avfilter_link_set_out_status(AVFilterLink *link, int status, int64_t pts · 224 unmodified lines
225225 ff_filter_set_ready(link->src, 200);
226226 }
227227
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
234228 int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt,
235229 unsigned filt_srcpad_idx, unsigned filt_dstpad_idx)
236230 {
libavfilter/avfilter.h+0−9
@@ -665,15 +665,6 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad, · 664 unmodified lines
665665 */
666666 void avfilter_link_free(AVFilterLink **link);
667667
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
677668 /**
678669 * Negotiate the media format, dimensions, etc of all inputs to a filter.
679670 *
libavfilter/version.h+0−3
@@ -53,9 +53,6 @@ · 52 unmodified lines
5353 #ifndef FF_API_SWS_PARAM_OPTION
5454 #define FF_API_SWS_PARAM_OPTION (LIBAVFILTER_VERSION_MAJOR < 8)
5555 #endif
56−#ifndef FF_API_FILTER_LINK_SET_CLOSED
57−#define FF_API_FILTER_LINK_SET_CLOSED (LIBAVFILTER_VERSION_MAJOR < 8)
58−#endif
5956 #ifndef FF_API_BUFFERSINK_ALLOC
6057 #define FF_API_BUFFERSINK_ALLOC (LIBAVFILTER_VERSION_MAJOR < 9)
6158 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t