From c1de8cdc38be75499e47fb423b594677b24c4086 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 26 Oct 2015 15:55:40 +0100 Subject: 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. --- player/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') 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", -- cgit v1.2.3