diff --git a/module/src/server/implementation/objects/TelmateFrameGrabberImpl.cpp b/module/src/server/implementation/objects/TelmateFrameGrabberImpl.cpp index 6e0b5ec..64b0b57 100644 --- a/module/src/server/implementation/objects/TelmateFrameGrabberImpl.cpp +++ b/module/src/server/implementation/objects/TelmateFrameGrabberImpl.cpp @@ -39,6 +39,10 @@ void TelmateFrameGrabberImpl::release() { std::shared_ptr p = TelmateFrameGrabberOpenCVImpl::getSharedPtr(); p.reset(); + + GST_DEBUG("TelmateFrameGrabberImpl::" + "release() " + "called, %s ", this->epName.c_str()); return; } diff --git a/module/src/server/implementation/objects/TelmateFrameGrabberOpenCVImpl.cpp b/module/src/server/implementation/objects/TelmateFrameGrabberOpenCVImpl.cpp index 3e6d34f..be4845c 100644 --- a/module/src/server/implementation/objects/TelmateFrameGrabberOpenCVImpl.cpp +++ b/module/src/server/implementation/objects/TelmateFrameGrabberOpenCVImpl.cpp @@ -29,7 +29,7 @@ TelmateFrameGrabberOpenCVImpl::TelmateFrameGrabberOpenCVImpl() { this->thr = new boost::thread(boost::bind( &TelmateFrameGrabberOpenCVImpl::queueHandler, this)); this->thr->detach(); - GST_DEBUG("TelmateFrameGrabberOpenCVImpl::TelmateFrameGrabberOpenCVImpl()"); + GST_INFO("TelmateFrameGrabberOpenCVImpl::TelmateFrameGrabberOpenCVImpl()"); } @@ -39,12 +39,13 @@ TelmateFrameGrabberOpenCVImpl::~TelmateFrameGrabberOpenCVImpl() { while(queueLength > 0) { boost::this_thread::sleep_for(boost::chrono::milliseconds(10)); + } delete this->frameQueue; this->frameQueue = NULL; - GST_DEBUG("TelmateFrameGrabberOpenCVImpl::" + GST_INFO("TelmateFrameGrabberOpenCVImpl::" "~TelmateFrameGrabberOpenCVImpl() " "called, %s ", this->epName.c_str()); }