pub unsafe extern "C" fn avfilter_graph_parse2(
    graph: *mut AVFilterGraph,
    filters: *const c_char,
    inputs: *mut *mut AVFilterInOut,
    outputs: *mut *mut AVFilterInOut
) -> c_int
Expand description

Add a graph described by a string to a graph.

@param[in] graph the filter graph where to link the parsed graph context @param[in] filters string to be parsed @param[out] inputs a linked list of all free (unlinked) inputs of the parsed graph will be returned here. It is to be freed by the caller using avfilter_inout_free(). @param[out] outputs a linked list of all free (unlinked) outputs of the parsed graph will be returned here. It is to be freed by the caller using avfilter_inout_free(). @return zero on success, a negative AVERROR code on error

@note This function returns the inputs and outputs that are left unlinked after parsing the graph and the caller then deals with them. @note This function makes no reference whatsoever to already existing parts of the graph and the inputs parameter will on return contain inputs of the newly parsed part of the graph. Analogously the outputs parameter will contain outputs of the newly created filters.