diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-12-17 08:21:37 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-12-17 08:21:37 +0100 |
commit | 7ff9c59ceb7fd17a5dc7cf3cc3ad39d5c2ed2029 (patch) | |
tree | 7c2eac971cf3cd500337e2ce81add91369d83602 | |
parent | 2480178acbf97c72205d525d3d4d4f589477c2b0 (diff) | |
download | uca-7ff9c59ceb7fd17a5dc7cf3cc3ad39d5c2ed2029.tar.gz uca-7ff9c59ceb7fd17a5dc7cf3cc3ad39d5c2ed2029.tar.bz2 uca-7ff9c59ceb7fd17a5dc7cf3cc3ad39d5c2ed2029.tar.xz uca-7ff9c59ceb7fd17a5dc7cf3cc3ad39d5c2ed2029.zip |
Add error type for write method
-rw-r--r-- | src/uca-camera.c | 2 | ||||
-rw-r--r-- | src/uca-camera.h | 1 |
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; |