summaryrefslogtreecommitdiff
path: root/src/camera.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera.cc')
-rw-r--r--src/camera.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/camera.cc b/src/camera.cc
index b7dd8f4..6300946 100644
--- a/src/camera.cc
+++ b/src/camera.cc
@@ -27,6 +27,9 @@
*/
/*
* $Log$
+ * Revision 1.9 2005/05/01 11:25:56 deva
+ * Added code to read screenshot from frame queue, decode it to rgb and put it into a qimage.
+ *
* Revision 1.8 2005/05/01 09:56:26 deva
* Added Id and Log tags to all files
*
@@ -174,9 +177,9 @@ void Camera::unfreeze()
else errorstatus->pushError("Camera not initialized.");
}
-void Camera::snapshot()
+void Camera::snapshot(unsigned char *rgb)
{
- if(initialized) encoder->shoot();
+ if(initialized) encoder->shoot(rgb);
else errorstatus->pushError("Camera not initialized.");
}