summaryrefslogtreecommitdiff
path: root/src/camera.cc
diff options
context:
space:
mode:
authordeva <deva>2005-05-02 10:35:23 +0000
committerdeva <deva>2005-05-02 10:35:23 +0000
commit6d7b4b50ca9f159b9c422d6e7668c33ddd7992a1 (patch)
tree1fbbac941bc90c4676ad1e97c2d38ab9ae32f862 /src/camera.cc
parent6018769717141e28ed5eb84b2cfb3449f3e7334d (diff)
Fixed wrongly showed snapshot thumbnails.
Diffstat (limited to 'src/camera.cc')
-rw-r--r--src/camera.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/camera.cc b/src/camera.cc
index a35cf9c..c1720b9 100644
--- a/src/camera.cc
+++ b/src/camera.cc
@@ -27,6 +27,9 @@
*/
/*
* $Log$
+ * Revision 1.12 2005/05/02 10:35:23 deva
+ * Fixed wrongly showed snapshot thumbnails.
+ *
* Revision 1.11 2005/05/02 09:58:43 deva
*
* Fixed initial values of the stae bools.
@@ -195,7 +198,7 @@ void Camera::snapshot(unsigned char *rgb)
{
if(initialized) {
decoder->shoot(rgb);
- encoder->shoot(rgb);
+ encoder->shoot();
} else {
errorstatus->pushError("Camera not initialized.");
}