From ebfafa8c1d9aa2f2c76393050c1c63ca5575f2f1 Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Fri, 31 Jan 2020 21:33:27 +0200
Subject: [PATCH] Reset stream on record start

---
 applications/gui/src/src_window.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/applications/gui/src/src_window.cpp b/applications/gui/src/src_window.cpp
index 8ff47c319..2ec91f8e4 100644
--- a/applications/gui/src/src_window.cpp
+++ b/applications/gui/src/src_window.cpp
@@ -191,6 +191,7 @@ void SourceWindow::recordVideo(const std::string &filename) {
 		LOG(INFO) << "Recording started: " << filename;
 
 		// TODO: Inject pose and calibrations
+		stream_->reset();
 	}
 }
 
-- 
GitLab