summaryrefslogtreecommitdiffstats
path: root/player/client.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-09 12:28:03 +0200
committerwm4 <wm4@nowhere>2016-09-09 12:28:03 +0200
commit27e3f04de78c958679a3160ce9fdfdbf212e53e5 (patch)
tree863e76c289feea4e3f39e4339ce223f956306d63 /player/client.c
parentea94b01e6b39857028b5511ffb2d42ca491cf111 (diff)
downloadmpv-27e3f04de78c958679a3160ce9fdfdbf212e53e5.tar.bz2
mpv-27e3f04de78c958679a3160ce9fdfdbf212e53e5.tar.xz
client API: fix error code string
Said "audio" instead of "video".
Diffstat (limited to 'player/client.c')
-rw-r--r--player/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/client.c b/player/client.c
index c17c4e27cf..7587b8bbae 100644
--- a/player/client.c
+++ b/player/client.c
@@ -1597,7 +1597,7 @@ static const char *const err_table[] = {
[-MPV_ERROR_COMMAND] = "error running command",
[-MPV_ERROR_LOADING_FAILED] = "loading failed",
[-MPV_ERROR_AO_INIT_FAILED] = "audio output initialization failed",
- [-MPV_ERROR_VO_INIT_FAILED] = "audio output initialization failed",
+ [-MPV_ERROR_VO_INIT_FAILED] = "video output initialization failed",
[-MPV_ERROR_NOTHING_TO_PLAY] = "no audio or video data played",
[-MPV_ERROR_UNKNOWN_FORMAT] = "unrecognized file format",
[-MPV_ERROR_UNSUPPORTED] = "not supported",