[][src]Module libmpv::mpv_format

Constants

Array

Used with mpv_node only. Can usually not be used directly.

Double

The basic type is double.

Flag

The basic type is int. The only allowed values are 0 ("no") and 1 ("yes").

Int64

The basic type is int64_t.

Map

See MPV_FORMAT_NODE_ARRAY.

Node

The type is mpv_node.

None

Invalid. Sometimes used for empty values. This is always defined to 0, so a normal 0-init of mpv_format (or e.g. mpv_node) is guaranteed to set this it to MPV_FORMAT_NONE (which makes some things saner as consequence).

OsdString

The basic type is char*. It returns the OSD property string, like using ${property} in input.conf (see input.rst). In many cases, this is the same as the raw string, but in other cases it's formatted for display on OSD. It's intended to be human readable. Do not attempt to parse these strings.

String

The basic type is char*. It returns the raw property string, like using ${=property} in input.conf (see input.rst).