In the graph filters description, if the input label of the first
filter is not specified, "in" is assumed; if the output label of
the last filter is not specified, "out" is assumed.
@param graph the filter graph where to link the parsed graph context
@param filters string to be parsed
@param inputs pointer to a linked list to the inputs of the graph, may be NULL.
If non-NULL, *inputs is updated to contain the list of open inputs
after the parsing, should be freed with avfilter_inout_free().
@param outputs pointer to a linked list to the outputs of the graph, may be NULL.
If non-NULL, *outputs is updated to contain the list of open outputs
after the parsing, should be freed with avfilter_inout_free().
@return non negative on success, a negative AVERROR code on error
Add a graph described by a string to a graph.
In the graph filters description, if the input label of the first filter is not specified, "in" is assumed; if the output label of the last filter is not specified, "out" is assumed.
@param graph the filter graph where to link the parsed graph context @param filters string to be parsed @param inputs pointer to a linked list to the inputs of the graph, may be NULL. If non-NULL, *inputs is updated to contain the list of open inputs after the parsing, should be freed with avfilter_inout_free(). @param outputs pointer to a linked list to the outputs of the graph, may be NULL. If non-NULL, *outputs is updated to contain the list of open outputs after the parsing, should be freed with avfilter_inout_free(). @return non negative on success, a negative AVERROR code on error