aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-07 22:47:37 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-07 22:47:37 +0000
commit0b90e4a240c859de1fa5e0adac99ab58307d6b73 (patch)
tree5f08b3842e7969752ad2915734850cd925be9232
parent55b2a9ba3b8c9d383e67034c601f2163660053c6 (diff)
downloadffmpeg-0b90e4a240c859de1fa5e0adac99ab58307d6b73.tar.gz
Document AVFilterInOut fields.
Originally committed as revision 25704 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavfilter/graphparser.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavfilter/graphparser.h b/libavfilter/graphparser.h
index 2902524576..f044b58c44 100644
--- a/libavfilter/graphparser.h
+++ b/libavfilter/graphparser.h
@@ -27,12 +27,24 @@
/**
* A linked-list of the inputs/outputs of the filter chain.
+ *
+ * This is mainly useful for avfilter_graph_parse(), since this
+ * function may accept a description of a graph with not connected
+ * input/output pads. This struct specifies, per each not connected
+ * pad contained in the graph, the filter context and the pad index
+ * required for establishing a link.
*/
typedef struct AVFilterInOut {
+ /** unique name for this input/output in the list */
char *name;
+
+ /** filter context associated to this input/output */
AVFilterContext *filter_ctx;
+
+ /** index of the filt_ctx pad to use for linking */
int pad_idx;
+ /** next input/input in the list, NULL if this is the last */
struct AVFilterInOut *next;
} AVFilterInOut;