aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-10-03 20:54:29 +0200
committerAnton Khirnov <anton@khirnov.net>2024-10-07 10:53:13 +0200
commit6647e57dcb977411a55c20faa90275103d50b8b5 (patch)
treeb94c1d1a87ac399e1f8615d6bcae616268ba01a2
parent4472bddb18f332ad95e789277b4071881ad41019 (diff)
downloadffmpeg-6647e57dcb977411a55c20faa90275103d50b8b5.tar.gz
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.
-rw-r--r--libavfilter/avfilter.h7
1 files changed, 6 insertions, 1 deletions
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