Miam-Player  0.8.0
A nice music player
AVOption Struct Reference

#include <opt.h>

Public Attributes

const char * name
 
const char * help
 
int offset
 
enum AVOptionType type
 
union {
   int64_t   i64
 
   double   dbl
 
   const char *   str
 
   AVRational   q
 
default_val
 
double min
 minimum valid value for the option More...
 
double max
 maximum valid value for the option More...
 
int flags
 
const char * unit
 

Detailed Description

Member Data Documentation

◆ dbl

double AVOption::dbl

◆ default_val

union { ... } AVOption::default_val

the default value for scalar options

◆ flags

int AVOption::flags

◆ help

const char* AVOption::help

short English help text

Todo:
What about other languages?

◆ i64

int64_t AVOption::i64

◆ max

double AVOption::max

maximum valid value for the option

◆ min

double AVOption::min

minimum valid value for the option

◆ name

const char* AVOption::name

◆ offset

int AVOption::offset

The offset relative to the context structure where the option value is stored. It should be 0 for named constants.

◆ q

AVRational AVOption::q

◆ str

const char* AVOption::str

◆ type

enum AVOptionType AVOption::type

◆ unit

const char* AVOption::unit

The logical unit to which the option belongs. Non-constant options and corresponding named constants share the same unit. May be NULL.


The documentation for this struct was generated from the following file: