av_opt_find

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_*.

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

@note Options found with AV_OPT_SEARCH_CHILDREN flag may not be settable directly with av_opt_set(). Use special calls which take an options AVDictionary (e.g. avformat_open_input()) to set options found with this flag.

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

Meta