diff options
author | deva <deva> | 2005-05-02 09:58:43 +0000 |
---|---|---|
committer | deva <deva> | 2005-05-02 09:58:43 +0000 |
commit | 6928574175200fdaee9c04fafe388dd87b336095 (patch) | |
tree | 9734685d0f91d559745cabe55685cb38cec607d3 | |
parent | 837ca942fafaf9a4a1f69c6d595616a92ebeb203 (diff) |
Fixed initial values of the stae bools.
-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. } |