Corresponds to the values in enum mpv_end_file_reason (the "int" type will be replaced with mpv_end_file_reason on the next ABI bump).
Unknown values should be treated as unknown.
@ffi.Int32() external int reason;