[][src]Function ffmpeg_sys_next::avfilter_graph_create_filter

pub unsafe extern "C" fn avfilter_graph_create_filter(
    filt_ctx: *mut *mut AVFilterContext,
    filt: *const AVFilter,
    name: *const c_char,
    args: *const c_char,
    opaque: *mut c_void,
    graph_ctx: *mut AVFilterGraph
) -> c_int

Create and add a filter instance into an existing graph. The filter instance is created from the filter filt and inited with the parameters args and opaque.

In case of success put in *filt_ctx the pointer to the created filter instance, otherwise set *filt_ctx to NULL.

@param name the instance name to give to the created filter instance @param graph_ctx the filter graph @return a negative AVERROR error code in case of failure, a non negative value otherwise