summaryrefslogtreecommitdiffstats
path: root/libaf/af.h
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-25 19:02:53 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-25 19:02:53 +0000
commitbbd5473353f7d82d1cdabae1f8806998cbd24ffb (patch)
tree272c2354b8e801335caacccd48764c97cb1b5c56 /libaf/af.h
parent1d9256455412c4dc39d4a0791245db3a7f3f4867 (diff)
downloadmpv-bbd5473353f7d82d1cdabae1f8806998cbd24ffb.tar.bz2
mpv-bbd5473353f7d82d1cdabae1f8806998cbd24ffb.tar.xz
Send a command throught the filter chain until some item returns AF_OK. Patch by Reimar Doeffinger
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12669 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/af.h')
-rw-r--r--libaf/af.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libaf/af.h b/libaf/af.h
index ba83f86c8e..23dfa7ea82 100644
--- a/libaf/af.h
+++ b/libaf/af.h
@@ -151,6 +151,11 @@ af_instance_t* af_get(af_stream_t* s, char* name);
// Filter data chunk through the filters in the list
af_data_t* af_play(af_stream_t* s, af_data_t* data);
+// send control to all filters, starting with the last until
+// one accepts the command with AF_OK.
+// Returns true if accepting filter was found.
+int af_control_any_rev (af_stream_t* s, int cmd, void* arg);
+
/* Calculate how long the output from the filters will be given the
input length "len". The calculated length is >= the actual
length */