diff --git a/components/common/cpp/include/ftl/threads.hpp b/components/common/cpp/include/ftl/threads.hpp
index 1e60a20077da11dedc9fc026f6f9932a2c2d9609..c40ed095b5075afe0b4df7409c48ace45b8328cc 100644
--- a/components/common/cpp/include/ftl/threads.hpp
+++ b/components/common/cpp/include/ftl/threads.hpp
@@ -7,7 +7,7 @@
 
 #define POOL_SIZE 10
 
-#define DEBUG_MUTEX
+//#define DEBUG_MUTEX
 #define MUTEX_TIMEOUT 2
 
 #if defined DEBUG_MUTEX
diff --git a/components/streams/include/ftl/streams/receiver.hpp b/components/streams/include/ftl/streams/receiver.hpp
index 9895ee878396afc496bfbdf94ce08c85842b45a0..090014243695a08956eeaf12aade4ba50ac30a5d 100644
--- a/components/streams/include/ftl/streams/receiver.hpp
+++ b/components/streams/include/ftl/streams/receiver.hpp
@@ -64,9 +64,6 @@ class Receiver : public ftl::Configurable, public ftl::data::Generator {
 		InternalVideoStates();
 
 		int64_t timestamps[32];
-		int64_t interval = 2000;
-		std::pair<ftl::codecs::StreamPacket, ftl::codecs::Packet> todos[32];
-		//ftl::rgbd::Frame frame;
 		ftl::codecs::Decoder* decoders[32];
 		cv::cuda::GpuMat surface[32];
 		RECURSIVE_MUTEX mutex;
diff --git a/components/streams/src/filestream.cpp b/components/streams/src/filestream.cpp
index 69216ece27b0cbc0b3aa2abedec85b802d2fc989..a49b743e799413123178a71483a6782988b76c63 100644
--- a/components/streams/src/filestream.cpp
+++ b/components/streams/src/filestream.cpp
@@ -532,7 +532,7 @@ bool File::end() {
 }
 
 void File::reset() {
-	UNIQUE_LOCK(mutex_, lk);
+	/*UNIQUE_LOCK(mutex_, lk);
 
 	// TODO: Find a better solution
 	while (jobs_ > 0) std::this_thread::sleep_for(std::chrono::milliseconds(2));
@@ -544,7 +544,7 @@ void File::reset() {
 
 	timestart_ = (ftl::timer::get_time() / ftl::timer::getInterval()) * ftl::timer::getInterval();
 	//timestamp_ = timestart_;
-	for (auto &fsd : framesets_) fsd.second.timestamp = timestart_;
+	for (auto &fsd : framesets_) fsd.second.timestamp = timestart_;*/
 }
 
 bool File::active() {
diff --git a/components/streams/src/receiver.cpp b/components/streams/src/receiver.cpp
index 70b192cca2c30ca44c3f11b4ecdbf0f67b717433..97c58c7dcf8f727a8b8dd58321caf15e33170b88 100644
--- a/components/streams/src/receiver.cpp
+++ b/components/streams/src/receiver.cpp
@@ -119,7 +119,6 @@ Receiver::InternalVideoStates::InternalVideoStates() {
 	for (int i=0; i<32; ++i) {
 		decoders[i] = nullptr;
 		timestamps[i] = 0;
-		todos[i].first.timestamp = -1;
 	}
 }
 
@@ -406,13 +405,6 @@ void Receiver::_processVideo(const StreamPacket &spkt, const Packet &pkt) {
 
 		_finishPacket(fs, spkt.frame_number);
 	}
-
-	{
-		UNIQUE_LOCK(ividstate.mutex, lk);
-		if (ividstate.todos[int(spkt.channel)].first.timestamp > spkt.timestamp) {
-			_processVideo(ividstate.todos[int(spkt.channel)].first, ividstate.todos[int(spkt.channel)].second);
-		}
-	}
 }
 
 void Receiver::_finishPacket(ftl::streams::LockedFrameSet &fs, size_t fix) {