summaryrefslogtreecommitdiff
path: root/src/camera.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera.cc')
-rw-r--r--src/camera.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/camera.cc b/src/camera.cc
index c1720b9..03aa87f 100644
--- a/src/camera.cc
+++ b/src/camera.cc
@@ -27,6 +27,9 @@
*/
/*
* $Log$
+ * Revision 1.13 2005/05/02 14:06:55 deva
+ * Added unfreeze to decoder (called from camera).
+ *
* Revision 1.12 2005/05/02 10:35:23 deva
* Fixed wrongly showed snapshot thumbnails.
*
@@ -190,8 +193,12 @@ void Camera::freeze()
void Camera::unfreeze()
{
- if(initialized) player->start();
- else errorstatus->pushError("Camera not initialized.");
+ if(initialized) {
+ player->start();
+ decoder->unfreeze();
+ } else {
+ errorstatus->pushError("Camera not initialized.");
+ }
}
void Camera::snapshot(unsigned char *rgb)