[][src]Function x264_dev::sys::x264_param_parse

pub unsafe fn x264_param_parse(
    arg1: *mut X264ParamT,
    name: *const c_char,
    value: *const c_char
) -> c_int

set one parameter by name.

returns 0 on success, or returns one of the following errors. note: BAD_VALUE occurs only if it can't even parse the value, numerical range is not checked until x264_encoder_open() or x264_encoder_reconfig(). value=NULL means "true" for boolean options, but is a BAD_VALUE for non-booleans.