summaryrefslogtreecommitdiffhomepage
path: root/logic/pipeline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/pipeline.cpp')
-rw-r--r--logic/pipeline.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp
index e506b7cf..6a01b272 100644
--- a/logic/pipeline.cpp
+++ b/logic/pipeline.cpp
@@ -277,6 +277,7 @@ bool maybe_nan(const char* text, const char* fun, int line, const xs&... vals)
# define nan_check(...) (void)(__VA_ARGS__)
#endif
+
bool pipeline::maybe_enable_center_on_tracking_started()
{
if (!tracking_started)
@@ -546,6 +547,9 @@ void pipeline::run()
const MMRESULT mmres = timeBeginPeriod(1);
#endif
+ setPriority(QThread::HighPriority);
+ setPriority(QThread::HighestPriority);
+
{
static const char* const posechannels[6] = { "TX", "TY", "TZ", "Yaw", "Pitch", "Roll" };
static const char* const datachannels[5] = { "dt", "raw", "corrected", "filtered", "mapped" };