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).
This commit is contained in:
wm4 2014-02-24 20:05:56 +01:00
parent b097d76281
commit 74e0654733
1 changed files with 2 additions and 2 deletions

View File

@ -805,10 +805,10 @@ static const char *err_table[] = {
[-MPV_ERROR_UNINITIALIZED] = "core not uninitialized", [-MPV_ERROR_UNINITIALIZED] = "core not uninitialized",
[-MPV_ERROR_INVALID_PARAMETER] = "invalid parameter", [-MPV_ERROR_INVALID_PARAMETER] = "invalid parameter",
[-MPV_ERROR_OPTION_NOT_FOUND] = "option not found", [-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_OPTION_ERROR] = "error setting option",
[-MPV_ERROR_PROPERTY_NOT_FOUND] = "property not found", [-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_UNAVAILABLE] = "property unavailable",
[-MPV_ERROR_PROPERTY_ERROR] = "error accessing property", [-MPV_ERROR_PROPERTY_ERROR] = "error accessing property",
}; };