summaryrefslogtreecommitdiffstats
path: root/filters/filter.h
diff options
context:
space:
mode:
Diffstat (limited to 'filters/filter.h')
-rw-r--r--filters/filter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/filters/filter.h b/filters/filter.h
index 33177444c2..5e09a17ee7 100644
--- a/filters/filter.h
+++ b/filters/filter.h
@@ -357,6 +357,7 @@ enum mp_filter_command_type {
MP_FILTER_COMMAND_GET_META,
MP_FILTER_COMMAND_SET_SPEED,
MP_FILTER_COMMAND_SET_SPEED_RESAMPLE,
+ MP_FILTER_COMMAND_IS_ACTIVE,
};
struct mp_filter_command {
@@ -371,6 +372,9 @@ struct mp_filter_command {
// For MP_FILTER_COMMAND_SET_SPEED and MP_FILTER_COMMAND_SET_SPEED_RESAMPLE
double speed;
+
+ // For MP_FILTER_COMMAND_IS_ACTIVE
+ bool is_active;
};
// Run a command on the filter. Returns success. For libavfilter.