summaryrefslogtreecommitdiffstats
path: root/src/uca.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-14 12:08:10 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-14 12:08:10 +0100
commitaaa9488c5681a2d3dd12cc1a5275164ae6d5ab63 (patch)
treecfea503e374b0bc80e0dc7dcd8e3a80ad2713aa8 /src/uca.c
parent0e40d8791f5fa2081a76fa9a03bef6e189dbec0e (diff)
downloadlibuca-aaa9488c5681a2d3dd12cc1a5275164ae6d5ab63.tar.gz
libuca-aaa9488c5681a2d3dd12cc1a5275164ae6d5ab63.tar.bz2
libuca-aaa9488c5681a2d3dd12cc1a5275164ae6d5ab63.tar.xz
libuca-aaa9488c5681a2d3dd12cc1a5275164ae6d5ab63.zip
Make dummy camera optional
Diffstat (limited to 'src/uca.c')
-rw-r--r--src/uca.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/uca.c b/src/uca.c
index 6662f3d..cf6e5ec 100644
--- a/src/uca.c
+++ b/src/uca.c
@@ -5,7 +5,10 @@
#include "uca.h"
#include "uca-cam.h"
#include "uca-grabber.h"
+
+#ifdef HAVE_DUMMY_CAMERA
#include "cameras/dummy.h"
+#endif
#ifdef HAVE_ME4
#include "grabbers/me4.h"
@@ -108,7 +111,9 @@ struct uca_t *uca_init(void)
#ifdef HAVE_PH
uca_photron_init,
#endif
+#ifdef HAVE_DUMMY_CAMERA
uca_dummy_init,
+#endif
NULL
};