diff options
author | Nicolas George <george@nsup.org> | 2015-09-24 10:06:26 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2015-12-22 16:04:22 +0100 |
commit | 39a09e995d32d16e4f8c87a6ff5273cb9d98146e (patch) | |
tree | 23cde3120514e7953b938471377d04f833e6a9e3 /libavfilter | |
parent | b8b7d5ac6c793b12db2c90627a136766852593cb (diff) | |
download | ffmpeg-39a09e995d32d16e4f8c87a6ff5273cb9d98146e.tar.gz |
lavfi: deprecate avfilter_link_set_closed().
Applications are not supposed to mess with links,
they should close the sinks.
Furthermore, this function does not distinguish what end
of the link caused the close and does not have a timestamp.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.h | 3 | ||||
-rw-r--r-- | libavfilter/version.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index f2a934eda0..5022036faf 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -546,7 +546,10 @@ int avfilter_link_get_channels(AVFilterLink *link); /** * 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); /** diff --git a/libavfilter/version.h b/libavfilter/version.h index a7832e05ff..79a1f01514 100644 --- a/libavfilter/version.h +++ b/libavfilter/version.h @@ -31,7 +31,7 @@ #define LIBAVFILTER_VERSION_MAJOR 6 #define LIBAVFILTER_VERSION_MINOR 21 -#define LIBAVFILTER_VERSION_MICRO 100 +#define LIBAVFILTER_VERSION_MICRO 101 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ LIBAVFILTER_VERSION_MINOR, \ |