From 74e065473325c113f67c69b10c2647f0a8c49f4d Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 24 Feb 2014 20:05:56 +0100 Subject: [PATCH] client API: adjust error strings These error codes can be used for setting and getting, not just for settings (although currently there's no API to get options directly). --- player/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/player/client.c b/player/client.c index 39d816c0bb..8cdfe94b15 100644 --- a/player/client.c +++ b/player/client.c @@ -805,10 +805,10 @@ static const char *err_table[] = { [-MPV_ERROR_UNINITIALIZED] = "core not uninitialized", [-MPV_ERROR_INVALID_PARAMETER] = "invalid parameter", [-MPV_ERROR_OPTION_NOT_FOUND] = "option not found", - [-MPV_ERROR_OPTION_FORMAT] = "unsupported format for setting option", + [-MPV_ERROR_OPTION_FORMAT] = "unsupported format for accessing option", [-MPV_ERROR_OPTION_ERROR] = "error setting option", [-MPV_ERROR_PROPERTY_NOT_FOUND] = "property not found", - [-MPV_ERROR_PROPERTY_FORMAT] = "unsupported format for setting property", + [-MPV_ERROR_PROPERTY_FORMAT] = "unsupported format for accessing property", [-MPV_ERROR_PROPERTY_UNAVAILABLE] = "property unavailable", [-MPV_ERROR_PROPERTY_ERROR] = "error accessing property", };