Function avfilter_graph_segment_parse
pub unsafe extern "C" fn avfilter_graph_segment_parse(
graph: *mut AVFilterGraph,
graph_str: *const i8,
flags: i32,
seg: *mut *mut AVFilterGraphSegment,
) -> i32
Expand description
Parse a textual filtergraph description into an intermediate form.
This intermediate representation is intended to be modified by the caller as described in the documentation of AVFilterGraphSegment and its children, and then applied to the graph either manually or with other avfilter_graph_segment_*() functions. See the documentation for avfilter_graph_segment_apply() for the canonical way to apply AVFilterGraphSegment.
@param graph Filter graph the parsed segment is associated with. Will only be used for logging and similar auxiliary purposes. The graph will not be actually modified by this function - the parsing results are instead stored in seg for further processing. @param graph_str a string describing the filtergraph segment @param flags reserved for future use, caller must set to 0 for now @param seg A pointer to the newly-created AVFilterGraphSegment is written here on success. The graph segment is owned by the caller and must be freed with avfilter_graph_segment_free() before graph itself is freed.
@retval “non-negative number” success @retval “negative error code” failure