From 39a09e995d32d16e4f8c87a6ff5273cb9d98146e Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Thu, 24 Sep 2015 10:06:26 +0200 Subject: 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. --- libavfilter/avfilter.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavfilter/avfilter.h') 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); /** -- cgit v1.2.3