summaryrefslogtreecommitdiffstats
path: root/player/client.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-07 18:05:54 +0200
committerwm4 <wm4@nowhere>2016-08-07 19:33:20 +0200
commit5640ceb838711199b545336a398dcc5ae3205676 (patch)
treeec900da2c93d0656338007801208ce6ef7b08977 /player/client.c
parentcfed84af2be1f95a595fdff7c846248a5e3f9368 (diff)
downloadmpv-5640ceb838711199b545336a398dcc5ae3205676.tar.bz2
mpv-5640ceb838711199b545336a398dcc5ae3205676.tar.xz
client API: add MPV_ERROR_GENERIC
Because why not.
Diffstat (limited to 'player/client.c')
-rw-r--r--player/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/client.c b/player/client.c
index f5a321b41d..abe8ebfe61 100644
--- a/player/client.c
+++ b/player/client.c
@@ -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)