#include "avfilter.h"
#include "avfiltergraph.h"
-enum LinkType {
- LinkTypeIn,
- LinkTypeOut,
-};
-
/**
* A linked-list of the inputs/outputs of the filter chain.
*/
typedef struct AVFilterInOut {
- enum LinkType type;
const char *name;
AVFilterContext *filter;
int pad_idx;
* Add to a graph a graph described by a string.
* @param graph the filter graph where to link the parsed graph context
* @param filters string to be parsed
- * @param in input to the graph to be parsed (TODO: allow several)
- * @param inpad pad index of the input
- * @param out output to the graph to be parsed (TODO: allow several)
+ * @param inouts linked list to the inputs and outputs of the graph
* @param outpad pad index of the output
* @return zero on success, -1 on error
*/
int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
- AVFilterInOut *inouts, AVClass *log_ctx);
+ AVFilterInOut *inputs, AVFilterInOut *outputs,
+ AVClass *log_ctx);
#endif /* FFMPEG_GRAPHPARSER_H */