From 4d49de7e136a80819740f6aaada9c5881b083a50 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 24 Feb 2011 09:50:34 +0100 Subject: Handle properties correctly for pco.edge --- src/uca.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/uca.h') diff --git a/src/uca.h b/src/uca.h index e74fb80..3c52c7a 100644 --- a/src/uca.h +++ b/src/uca.h @@ -69,7 +69,9 @@ const char* uca_get_property_name(int32_t property_id); #define UCA_NO_ERROR 0 #define UCA_ERR_INIT_NOT_FOUND 1 /**< camera probing or initialization failed */ -#define UCA_ERR_PROP_INVALID 1 /**< the requested property is not supported by the camera */ +#define UCA_ERR_PROP_INVALID 2 /**< the requested property is not supported by the camera */ +#define UCA_ERR_PROP_GENERAL 3 /**< error occured reading/writing the property */ + /* The property IDs must start with 0 and must be continuous. Whenever this * library is released, the IDs must not change to guarantee binary compatibility! */ -- cgit v1.2.3