diff --git a/src/bumblebee.cpp b/src/bumblebee.cpp index 68e8b9097e0fe24a3e7601a10a3d5797058d4914..d72886a0bf88eb23e61114c0055c448e282b6879 100755 --- a/src/bumblebee.cpp +++ b/src/bumblebee.cpp @@ -279,12 +279,6 @@ void CBumblebee::get_stereo_image_shared(char *left,char *right) dc1394video_frame_t *frame; unsigned char *de_interleaved,*RGB_image; - if ( left != NULL || right != NULL) - { - DEBUG_INFO("Invalid image buffer.\n"); - /* handle error */ - throw CFirewireCameraException(_HERE_,"Invalid image buffer. Please provide an unallocated memory buffer."); - } DEBUG_INFO("Capturing a new image ... "); if ( this->one_shot_mode == DC1394_ON ) { diff --git a/src/examples/bumblebee.cpp b/src/examples/bumblebee.cpp index d76dcbc255522b8de585f5db5d239dbb048f7ade..896180877020bacd610c7fe13822160b34f3d33d 100755 --- a/src/examples/bumblebee.cpp +++ b/src/examples/bumblebee.cpp @@ -40,8 +40,8 @@ int main(int argc, char *argv[]) event_server=CEventServer::instance(); bumblebee->get_config(&left_off,&top_off,&width,&height,&framerate,&depth,&coding); framerate=20; - coding=MONO; - depth=DEPTH8; +// coding=MONO; +// depth=DEPTH8; bumblebee->set_config(&left_off,&top_off,&width,&height,&framerate,depth,coding); bumblebee->get_stereo_config(&width,&height,&framerate,&depth,&coding); std::cout << "Image size: " << width << "x" << height << std::endl;