From a0645d148085269eed23e40500d7b72179c1fe1b Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 18 Apr 2012 13:50:50 +0200 Subject: Add not-implemented error for ufo readout --- src/cameras/uca-ufo-camera.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cameras') 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) -- cgit v1.2.3