[][src]Function ffav_sys::avfilter_graph_parse

pub unsafe extern "C" fn avfilter_graph_parse(
    graph: *mut AVFilterGraph,
    filters: *const c_char,
    inputs: *mut AVFilterInOut,
    outputs: *mut AVFilterInOut,
    log_ctx: *mut c_void
) -> c_int

Add a graph described by a string to a graph.

@note The caller must provide the lists of inputs and outputs, which therefore must be known before calling the function.

@note The inputs parameter describes inputs of the already existing part of the graph; i.e. from the point of view of the newly created part, they are outputs. Similarly the outputs parameter describes outputs of the already existing filters, which are provided as inputs to the parsed filters.

@param graph the filter graph where to link the parsed graph context @param filters string to be parsed @param inputs linked list to the inputs of the graph @param outputs linked list to the outputs of the graph @return zero on success, a negative AVERROR code on error