summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-26 15:55:40 +0100
committerwm4 <wm4@nowhere>2015-10-26 15:55:40 +0100
commitc1de8cdc38be75499e47fb423b594677b24c4086 (patch)
tree3964101e3c12f106d9c6b7587d79d5fd2fd11c42 /player
parent0cc440f2919f7281d31f0ce16c7d757b4145a8a7 (diff)
downloadmpv-c1de8cdc38be75499e47fb423b594677b24c4086.tar.bz2
mpv-c1de8cdc38be75499e47fb423b594677b24c4086.tar.xz
client API: change error string if playback fails completely
It can print this if AO/VO initialization fails, which makes the wording a lie. Change it to something more diplomatically safe.
Diffstat (limited to 'player')
-rw-r--r--player/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/client.c b/player/client.c
index 46c4add4f1..b1dd8d3c55 100644
--- a/player/client.c
+++ b/player/client.c
@@ -1601,7 +1601,7 @@ static const char *const err_table[] = {
[-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_NOTHING_TO_PLAY] = "no audio or video data found",
+ [-MPV_ERROR_NOTHING_TO_PLAY] = "no audio or video data played",
[-MPV_ERROR_UNKNOWN_FORMAT] = "unrecognized file format",
[-MPV_ERROR_UNSUPPORTED] = "not supported",
[-MPV_ERROR_NOT_IMPLEMENTED] = "operation not implemented",