]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/avfilter.h
lavfi: deprecate avfilter_link_set_closed().
[ffmpeg] / libavfilter / avfilter.h
index 7aac3cf93425637eb31c2769177c80480c2f6cfe..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.
      */
@@ -509,6 +515,11 @@ struct AVFilterLink {
      * Number of past frames sent through the link.
      */
     int64_t frame_count;
+
+    /**
+     * A pointer to a FFVideoFramePool struct.
+     */
+    void *video_frame_pool;
 };
 
 /**
@@ -535,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);
 
 /**