Skip to content

Commit

Permalink
Changed a few debug prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi Saranga committed Sep 26, 2017
1 parent 53191b1 commit a8fa9a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ void TelmateFrameGrabberImpl::release() {

std::shared_ptr<MediaObject> p = TelmateFrameGrabberOpenCVImpl::getSharedPtr();
p.reset();

GST_DEBUG("TelmateFrameGrabberImpl::"
"release() "
"called, %s ", this->epName.c_str());
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()");
}


Expand All @@ -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());
}
Expand Down

0 comments on commit a8fa9a8

Please sign in to comment.