From ad1d96f2d0771d8657da40c80eea8703111a9e80 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 7 Mar 2011 08:57:42 +0100 Subject: Specific error return codes for grabbers and cameras --- src/uca.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/uca.h') diff --git a/src/uca.h b/src/uca.h index c65d509..9c17b86 100644 --- a/src/uca.h +++ b/src/uca.h @@ -119,7 +119,8 @@ struct uca_property_t { enum uca_errors { UCA_NO_ERROR = 0, - UCA_ERR_INIT_NOT_FOUND, /**< camera probing or initialization failed */ + UCA_ERR_GRABBER_NOT_FOUND, + UCA_ERR_CAM_NOT_FOUND, /**< camera probing or initialization failed */ UCA_ERR_PROP_INVALID, /**< the requested property is not supported by the camera */ UCA_ERR_PROP_GENERAL, /**< error occured reading/writing the property */ UCA_ERR_PROP_VALUE_OUT_OF_RANGE, /**< error occured writing the property */ -- cgit v1.2.3