]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/avfilter.h
lavf/http: deprecate user-agent option
[ffmpeg] / libavfilter / avfilter.h
index 757b81a6108c0a6fb8be418d93527309ac60e27d..15d00f70586f68ce079e97bdd9bbe24d6b548f4a 100644 (file)
@@ -29,7 +29,9 @@
  */
 
 /**
- * @defgroup lavfi Libavfilter - graph-based frame editing library
+ * @defgroup lavfi libavfilter
+ * Graph-based frame editing library.
+ *
  * @{
  */
 
@@ -359,6 +361,13 @@ struct AVFilterContext {
      * hardware context information.
      */
     AVBufferRef *hw_device_ctx;
+
+    /**
+     * Max number of threads allowed in this filter instance.
+     * If <= 0, its value is ignored.
+     * Overrides global number of threads set per filter graph.
+     */
+    int nb_threads;
 };
 
 /**