[][src]Type Definition stainless_ffmpeg_sys::avfilter_action_func

type avfilter_action_func = Option<unsafe extern "C" fn(ctx: *mut AVFilterContext, arg: *mut c_void, jobnr: c_int, nb_jobs: c_int) -> c_int>;

A function pointer passed to the @ref AVFilterGraph.execute callback to be executed multiple times, possibly in parallel.

@param ctx the filter context the job belongs to @param arg an opaque parameter passed through from @ref AVFilterGraph.execute @param jobnr the index of the job being executed @param nb_jobs the total number of jobs

@return 0 on success, a negative AVERROR on error