summaryrefslogtreecommitdiff
path: root/libavfilter/filters.h
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2017-07-17 14:33:11 +0200
committerNicolas George <george@nsup.org>2017-07-30 12:23:56 +0200
commitb77f041dff5f669d1d297697a34023de1c33a33f (patch)
tree34d8a279c312a2f48e857247117aa38710169eb4 /libavfilter/filters.h
parent873306f265de255f9ef30a77b3e9b8c33d16dab8 (diff)
downloadffmpeg-b77f041dff5f669d1d297697a34023de1c33a33f.tar.gz
lavfi: make FFERROR_NOT_READY available to filters.
I am not entirely sure that this return code is useful, but having and using it makes no harm.
Diffstat (limited to 'libavfilter/filters.h')
-rw-r--r--libavfilter/filters.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/filters.h b/libavfilter/filters.h
index 2c78d60e62..370d99b38b 100644
--- a/libavfilter/filters.h
+++ b/libavfilter/filters.h
@@ -28,6 +28,11 @@
#include "avfilter.h"
/**
+ * Special return code when activate() did not do anything.
+ */
+#define FFERROR_NOT_READY FFERRTAG('N','R','D','Y')
+
+/**
* Mark a filter ready and schedule it for activation.
*
* This is automatically done when something happens to the filter (queued