MPV_MAKE_VERSION

The version is incremented on each API change. The 16 lower bits form the minor version number, and the 16 higher bits the major version number. If the API becomes incompatible to previous versions, the major version number is incremented. This affects only C part, and not properties and options.

Every API bump is described in DOCS/client-api-changes.rst

You can use MPV_MAKE_VERSION() and compare the result with integer relational operators (<, >, <=, >=).

extern (C) extern (D)
MPV_MAKE_VERSION
(
T0
T1
)
(
auto ref T0 major
,
auto ref T1 minor
)

Meta