summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-12-17 08:21:37 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-12-17 08:21:37 +0100
commit7ff9c59ceb7fd17a5dc7cf3cc3ad39d5c2ed2029 (patch)
tree7c2eac971cf3cd500337e2ce81add91369d83602 /src
parent2480178acbf97c72205d525d3d4d4f589477c2b0 (diff)
downloadlibuca-7ff9c59ceb7fd17a5dc7cf3cc3ad39d5c2ed2029.tar.gz
libuca-7ff9c59ceb7fd17a5dc7cf3cc3ad39d5c2ed2029.tar.bz2
libuca-7ff9c59ceb7fd17a5dc7cf3cc3ad39d5c2ed2029.tar.xz
libuca-7ff9c59ceb7fd17a5dc7cf3cc3ad39d5c2ed2029.zip
Add error type for write method
Diffstat (limited to 'src')
-rw-r--r--src/uca-camera.c2
-rw-r--r--src/uca-camera.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/uca-camera.c b/src/uca-camera.c
index 965015b..66d7743 100644
--- a/src/uca-camera.c
+++ b/src/uca-camera.c
@@ -55,6 +55,8 @@ G_DEFINE_TYPE(UcaCamera, uca_camera, G_TYPE_OBJECT)
* @UCA_CAMERA_ERROR_NOT_RECORDING: Camera is not recording
* @UCA_CAMERA_ERROR_NO_GRAB_FUNC: No grab callback was set
* @UCA_CAMERA_ERROR_NOT_IMPLEMENTED: Virtual function is not implemented
+ * @UCA_CAMERA_ERROR_WRONG_WRITE_METADATA: Meta data specified in the name
+ * argument of the write method is not correct.
* @UCA_CAMERA_ERROR_END_OF_STREAM: Data stream has ended.
*/
GQuark uca_camera_error_quark()
diff --git a/src/uca-camera.h b/src/uca-camera.h
index 156df8b..0b6270c 100644
--- a/src/uca-camera.h
+++ b/src/uca-camera.h
@@ -43,6 +43,7 @@ typedef enum {
UCA_CAMERA_ERROR_NOT_RECORDING,
UCA_CAMERA_ERROR_NO_GRAB_FUNC,
UCA_CAMERA_ERROR_NOT_IMPLEMENTED,
+ UCA_CAMERA_ERROR_WRONG_WRITE_METADATA,
UCA_CAMERA_ERROR_END_OF_STREAM
} UcaCameraError;