From ed0bc8b64fc31e040948a6292a4ffdd7ec75d33a Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 28 Aug 2015 20:50:32 +0200 Subject: 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. --- player/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.3