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.
Signed-off-by: Nicolas George <geo...@nsup.org> --- libavfilter/avfilter.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index a6aa919..58a0cbd 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -541,7 +541,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); /** -- 2.6.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel