diff options
-rw-r--r-- | src/camera.cc | 6 | ||||
-rw-r--r-- | src/decoder.cc | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/camera.cc b/src/camera.cc index e7994f6..a35cf9c 100644 --- a/src/camera.cc +++ b/src/camera.cc @@ -27,6 +27,10 @@ */ /* * $Log$ + * Revision 1.11 2005/05/02 09:58:43 deva + * + * Fixed initial values of the stae bools. + * * Revision 1.10 2005/05/02 09:50:22 deva * Rewrote freeze, shoot and record flags, from encoder to frame. * @@ -153,8 +157,8 @@ void Camera::setCpr(char *newcpr) void Camera::start() { if(initialized) { - decoder->start(); encoder->start(); + decoder->start(); } else { errorstatus->pushError("Camera not initialized."); } diff --git a/src/decoder.cc b/src/decoder.cc index 4707c90..ac076a4 100644 --- a/src/decoder.cc +++ b/src/decoder.cc @@ -25,6 +25,10 @@ */ /* * $Log$ + * Revision 1.23 2005/05/02 09:58:43 deva + * + * Fixed initial values of the stae bools. + * * Revision 1.22 2005/05/02 09:50:22 deva * Rewrote freeze, shoot and record flags, from encoder to frame. * @@ -63,6 +67,8 @@ Decoder::Decoder(Error* err, player_queue = gplayer_queue; mutex = gmutex; running = grunning; + b_shoot = false; + b_freeze = false; b_record = false; // Initially no recording is done. } |