Function rsmpeg::ffi::av_opt_query_ranges_default [−][src]
pub unsafe extern "C" fn av_opt_query_ranges_default(
arg1: *mut *mut AVOptionRanges,
obj: *mut c_void,
key: *const i8,
flags: i32
) -> i32
Expand description
Get a default list of allowed ranges for the given option.
This list is constructed without using the AVClass.query_ranges() callback and can be used as fallback from within the callback.
@param flags is a bitmask of flags, undefined flags should not be set and should be ignored AV_OPT_SEARCH_FAKE_OBJ indicates that the obj is a double pointer to a AVClass instead of a full instance AV_OPT_MULTI_COMPONENT_RANGE indicates that function may return more than one component, @see AVOptionRanges
The result must be freed with av_opt_free_ranges.
@return number of compontents returned on success, a negative errro code otherwise