]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/avfilter.h
lavfi: deprecate avfilter_link_set_closed().
[ffmpeg] / libavfilter / avfilter.h
index dca02945f6f92b18bf38224f1e60588ad947f207..5022036faf536fece97f3b22ae43320ed301e2f4 100644 (file)
@@ -435,10 +435,16 @@ struct AVFilterLink {
 
     /**
      * Current timestamp of the link, as defined by the most recent
-     * frame(s), in AV_TIME_BASE units.
+     * 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.
+     */
+    int64_t current_pts_us;
+
     /**
      * Index in the age array.
      */
@@ -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);
 
 /**