mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 03:52:22 +02:00
client API: add MPV_ERROR_GENERIC
Because why not.
This commit is contained in:
parent
cfed84af2b
commit
5640ceb838
@ -329,7 +329,11 @@ typedef enum mpv_error {
|
||||
/**
|
||||
* The API function which was called is a stub only.
|
||||
*/
|
||||
MPV_ERROR_NOT_IMPLEMENTED = -19
|
||||
MPV_ERROR_NOT_IMPLEMENTED = -19,
|
||||
/**
|
||||
* Unspecified error.
|
||||
*/
|
||||
MPV_ERROR_GENERIC = -20
|
||||
} mpv_error;
|
||||
|
||||
/**
|
||||
|
@ -1592,6 +1592,7 @@ static const char *const err_table[] = {
|
||||
[-MPV_ERROR_UNKNOWN_FORMAT] = "unrecognized file format",
|
||||
[-MPV_ERROR_UNSUPPORTED] = "not supported",
|
||||
[-MPV_ERROR_NOT_IMPLEMENTED] = "operation not implemented",
|
||||
[-MPV_ERROR_GENERIC] = "something happened",
|
||||
};
|
||||
|
||||
const char *mpv_error_string(int error)
|
||||
|
Loading…
Reference in New Issue
Block a user