[][src]Function ffav_sys::avfilter_graph_parse_ptr

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

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