[FFmpeg-cvslog] lavfi/avfilter: document AVFilterContext.is_disabled as private

Anton Khirnov git at videolan.org
Mon Oct 7 11:58:07 EEST 2024


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Oct  3 20:54:29 2024 +0200| [6647e57dcb977411a55c20faa90275103d50b8b5] | committer: Anton Khirnov

lavfi/avfilter: document AVFilterContext.is_disabled as private

Ideally there should be three parts to the filter context - public,
private to the filter, and private to generic code, but only the first
and the last of these exist currently. Until the second is implemented,
this is better than nothing.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6647e57dcb977411a55c20faa90275103d50b8b5
---

 libavfilter/avfilter.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index c99fc8f912..b88b31a834 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -518,7 +518,12 @@ struct AVFilterContext {
      */
     double *var_values;
 #endif
-    int is_disabled;                ///< the enabled state from the last expression evaluation
+    /**
+     * MUST NOT be accessed from outside avfilter.
+     *
+     * the enabled state from the last expression evaluation
+     */
+    int is_disabled;
 
     /**
      * For filters which will create hardware frames, sets the device the



More information about the ffmpeg-cvslog mailing list