diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-04-18 10:59:11 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2011-04-18 10:59:11 +0200 |
commit | fcffc9f40c32c863b85cbee3e7d6f51b5b6cdc41 (patch) | |
tree | c3cde2be2da7b19acae6a8cc48edddcd696af510 /src/cameras/dummy.c | |
parent | ecb5c3617140852dbd57cc3a77a5fe3dfaf2ed6f (diff) | |
download | uca-fcffc9f40c32c863b85cbee3e7d6f51b5b6cdc41.tar.gz uca-fcffc9f40c32c863b85cbee3e7d6f51b5b6cdc41.tar.bz2 uca-fcffc9f40c32c863b85cbee3e7d6f51b5b6cdc41.tar.xz uca-fcffc9f40c32c863b85cbee3e7d6f51b5b6cdc41.zip |
Implement correct trigger modes
Diffstat (limited to 'src/cameras/dummy.c')
-rw-r--r-- | src/cameras/dummy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cameras/dummy.c b/src/cameras/dummy.c index 58aa591..2bb0400 100644 --- a/src/cameras/dummy.c +++ b/src/cameras/dummy.c @@ -281,6 +281,11 @@ static uint32_t uca_dummy_destroy(struct uca_camera *cam) return UCA_NO_ERROR; } +static uint32_t uca_dummy_ignore(struct uca_camera *cam) +{ + return UCA_NO_ERROR; +} + uint32_t uca_dummy_init(struct uca_camera **cam, struct uca_grabber *grabber) { struct uca_camera *uca = uca_cam_new(); @@ -290,6 +295,7 @@ uint32_t uca_dummy_init(struct uca_camera **cam, struct uca_grabber *grabber) uca->get_property = &uca_dummy_get_property; uca->start_recording = &uca_dummy_start_recording; uca->stop_recording = &uca_dummy_stop_recording; + uca->trigger = &uca_dummy_ignore; uca->grab = &uca_dummy_grab; uca->register_callback = &uca_dummy_register_callback; |