From 6b75579fa1a9fe9f2a3b66d6a53ab8bf305dbb89 Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Mon, 3 Jun 2019 10:02:45 +0300
Subject: [PATCH] Debug info

---
 components/rgbd-sources/src/rgbd_streamer.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/components/rgbd-sources/src/rgbd_streamer.cpp b/components/rgbd-sources/src/rgbd_streamer.cpp
index 583c6f199..f34a2a1d9 100644
--- a/components/rgbd-sources/src/rgbd_streamer.cpp
+++ b/components/rgbd-sources/src/rgbd_streamer.cpp
@@ -173,7 +173,7 @@ void Streamer::_schedule() {
 			continue;
 		}
 		if (s.second->clients[0].size() == 0) {
-			//LOG(ERROR) << "Stream has no clients: " << uri;
+			LOG(ERROR) << "Stream has no clients: " << uri;
 			continue;
 		}
 		slk.unlock();
@@ -184,6 +184,7 @@ void Streamer::_schedule() {
 			src->src->grab();
 
 			unique_lock<shared_mutex> lk(src->mutex);
+			LOG(INFO) << "Grab frame"
 			src->state |= ftl::rgbd::detail::kGrabbed;
 			_swap(*src);
 		});
-- 
GitLab