[][src]Function stainless_ffmpeg_sys::avfilter_graph_send_command

pub unsafe extern "C" fn avfilter_graph_send_command(
    graph: *mut AVFilterGraph,
    target: *const c_char,
    cmd: *const c_char,
    arg: *const c_char,
    res: *mut c_char,
    res_len: c_int,
    flags: c_int
) -> c_int

Send a command to one or more filter instances.

@param graph the filter graph @param target the filter(s) to which the command should be sent "all" sends to all filters otherwise it can be a filter or filter instance name which will send the command to all matching filters. @param cmd the command to send, for handling simplicity all commands must be alphanumeric only @param arg the argument for the command @param res a buffer with size res_size where the filter(s) can return a response.

@returns >=0 on success otherwise an error code. AVERROR(ENOSYS) on unsupported commands