pub unsafe fn x264_param_parse(
arg1: *mut X264ParamT,
name: *const c_char,
value: *const c_char,
) -> c_intExpand description
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.