summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-08-28 20:50:32 +0200
committerwm4 <wm4@nowhere>2015-08-28 20:50:32 +0200
commited0bc8b64fc31e040948a6292a4ffdd7ec75d33a (patch)
tree41d1676f6c1dcc1080816abb500a1fe8b62ae895
parentef5f4b4d9ac69abe139e47e132c0c36743a8780a (diff)
downloadmpv-ed0bc8b64fc31e040948a6292a4ffdd7ec75d33a.tar.bz2
mpv-ed0bc8b64fc31e040948a6292a4ffdd7ec75d33a.tar.xz
client API: improve an error message
This refers to media played by mpv, and these don't necessarily have to be files. They can be network resources or entirely abstract URLs too.
-rw-r--r--player/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/client.c b/player/client.c
index 0572a47c45..46c4add4f1 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] = "the file has no audio or video data",
+ [-MPV_ERROR_NOTHING_TO_PLAY] = "no audio or video data found",
[-MPV_ERROR_UNKNOWN_FORMAT] = "unrecognized file format",
[-MPV_ERROR_UNSUPPORTED] = "not supported",
[-MPV_ERROR_NOT_IMPLEMENTED] = "operation not implemented",