From 6928574175200fdaee9c04fafe388dd87b336095 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 2 May 2005 09:58:43 +0000 Subject: Fixed initial values of the stae bools. --- src/camera.cc | 6 +++++- src/decoder.cc | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'src') 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. } -- cgit v1.2.3