av_opt_find2

Look for an option in an object. Consider only options which have all the specified flags set.

@paramin obj A pointer to a struct whose first element is a pointer to an AVClass. Alternatively a double pointer to an AVClass, if AV_OPT_SEARCH_FAKE_OBJ search flag is set. @paramin name The name of the option to look for. @paramin unit When searching for named constants, name of the unit it belongs to. @param opt_flags Find only options with all the specified flags set (AV_OPT_FLAG). @param search_flags A combination of AV_OPT_SEARCH_*. @paramout target_obj if non-NULL, an object to which the option belongs will be written here. It may be different from obj if AV_OPT_SEARCH_CHILDREN is present in search_flags. This parameter is ignored if search_flags contain AV_OPT_SEARCH_FAKE_OBJ.

@return A pointer to the option found, or NULL if no option was found.

extern (C) @nogc nothrow
const(AVOption)*
av_opt_find2
(
void* obj
,
const(char)* name
,
const(char)* unit
,,,
void** target_obj
)

Meta