]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/avfilter.h
lavfi: deprecate avfilter_link_set_closed().
[ffmpeg] / libavfilter / avfilter.h
index dec6a9198ab13310617e9ecc1cbfd153aab23356..5022036faf536fece97f3b22ae43320ed301e2f4 100644 (file)
@@ -433,6 +433,12 @@ struct AVFilterLink {
      */
     struct AVFilterGraph *graph;
 
+    /**
+     * Current timestamp of the link, as defined by the most recent
+     * frame(s), in link time_base units.
+     */
+    int64_t current_pts;
+
     /**
      * Current timestamp of the link, as defined by the most recent
      * frame(s), in AV_TIME_BASE units.
@@ -540,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);
 
 /**