avfilter: add needs_writable field to the internal AVFilterPad structure
[ffmpeg.git] / libavfilter / internal.h
index 44e7583..6a752dc 100644 (file)
@@ -117,6 +117,14 @@ struct AVFilterPad {
      * input pads only.
      */
     int needs_fifo;
+
+    /**
+     * The filter expects writable frames from its input link,
+     * duplicating data buffers if needed.
+     *
+     * input pads only.
+     */
+    int needs_writable;
 };
 #endif