summaryrefslogtreecommitdiffstats
path: root/src/cameras
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-18 13:50:50 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-18 13:50:50 +0200
commita0645d148085269eed23e40500d7b72179c1fe1b (patch)
treeea399959fc0b0d5aeb8f727848e485c7dc059a28 /src/cameras
parentac4f8fc1751d4f0de33e519c2804c1507238983d (diff)
downloadlibuca-a0645d148085269eed23e40500d7b72179c1fe1b.tar.gz
libuca-a0645d148085269eed23e40500d7b72179c1fe1b.tar.bz2
libuca-a0645d148085269eed23e40500d7b72179c1fe1b.tar.xz
libuca-a0645d148085269eed23e40500d7b72179c1fe1b.zip
Add not-implemented error for ufo readout
Diffstat (limited to 'src/cameras')
-rw-r--r--src/cameras/uca-ufo-camera.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cameras/uca-ufo-camera.c b/src/cameras/uca-ufo-camera.c
index 631144c..f40227b 100644
--- a/src/cameras/uca-ufo-camera.c
+++ b/src/cameras/uca-ufo-camera.c
@@ -164,6 +164,8 @@ static void uca_ufo_camera_stop_recording(UcaCamera *camera, GError **error)
static void uca_ufo_camera_start_readout(UcaCamera *camera, GError **error)
{
g_return_if_fail(UCA_IS_UFO_CAMERA(camera));
+ g_set_error(error, UCA_CAMERA_ERROR, UCA_CAMERA_ERROR_NOT_IMPLEMENTED,
+ "Ufo camera does not support recording to internal memory");
}
static void uca_ufo_camera_grab(UcaCamera *camera, gpointer *data, GError **error)