ReadonlycodeThe reason as a stable kebab-case code; branch on this.
ReadonlymessageThe reason as English text for people, for example with the GPU's name and what to change; never branch on it.
Optional ReadonlycauseWith code decoding only: why the video is not decoded on the GPU
that renders it (UpscalingDecodingCause). Absent with every
other code, and from players before 0.5.25.
Optional ReadonlypluginsWith cause copy-back only: the plugins whose video filters need the
frames in memory, which is why the player switched to copy-back
decoding, in the order the plugins started (each plugin once). Name
them to the user, who can turn the filters off there. Empty when
the copy-back decoding is not one the player chose for a filter (the
user's own hwdec setting). Absent with any other cause, and from
players before 0.5.25.
Why the GPU's video upscaler does not work: a stable UpscalingReasonCode to branch on and a sentence to show, the same shape as RenderingReason.
Example: Grey out a menu item with the player's reason
The plugin disables its upscaling item and shows why.
messageis the player's English text, naming the GPU and what the user can do (turn on GPU rendering, choose the other GPU, update the driver);codeis for decisions.Player
0.5.16
Since
1.5.37