avfilter: add needs_writable field to the internal AVFilterPad structure
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 18 Dec 2013 13:21:25 +0000 (14:21 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 9 Jan 2014 22:13:05 +0000 (23:13 +0100)
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