]> git.sesse.net Git - ffmpeg/commitdiff
lavfi: deprecate avfilter_link_set_closed().
authorNicolas George <george@nsup.org>
Thu, 24 Sep 2015 08:06:26 +0000 (10:06 +0200)
committerNicolas George <george@nsup.org>
Tue, 22 Dec 2015 15:04:22 +0000 (16:04 +0100)
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.

doc/APIchanges
libavfilter/avfilter.h
libavfilter/version.h

index fb15411e6cf29b8ddfa85b340033548ba7819fea..013e870b677a1817456d1a42f5c8232c8faee4f4 100644 (file)
@@ -14,6 +14,12 @@ libavutil:     2015-08-28
 
 
 API changes, most recent first:
+
+2015-12-22 - xxxxxxx - lavfi 6.21.101 - avfilter.h
+  Deprecate avfilter_link_set_closed().
+  Applications are not supposed to mess with links,
+  they should close the sinks.
+
 2015-12-17 - lavc 57.18.100 / 57.11.0 - avcodec.h dirac.h
   xxxxxxx - Add av_packet_add_side_data().
   xxxxxxx - Add AVCodecContext.coded_side_data.
index f2a934eda0498f84b64ce53a3bc2c44b06a31cd3..5022036faf536fece97f3b22ae43320ed301e2f4 100644 (file)
@@ -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);
 
 /**
index a7832e05ff960f52ec21bd759eaee8d92b197313..79a1f0151460b0eecdbc93bd9cc0127f35dd29a0 100644 (file)
@@ -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, \