MPV_FORMAT_FLAG constant

int const MPV_FORMAT_FLAG

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

Example for reading:

int result; if (mpv_get_property(ctx, "property", MPV_FORMAT_FLAG, &result) < 0) goto error; printf("%s\n", result ? "true" : "false");

Example for writing:

int flag = 1; mpv_set_property(ctx, "property", MPV_FORMAT_FLAG, &flag);

Implementation

static const int MPV_FORMAT_FLAG = 3;