[chronojump] Encoder capture logs can be unmuted if Debug is active
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Encoder capture logs can be unmuted if Debug is active
- Date: Tue, 16 Jan 2018 10:23:07 +0000 (UTC)
commit e560eaf035c341f02233648306e123f6f5c7c4da
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Jan 16 11:19:40 2018 +0100
Encoder capture logs can be unmuted if Debug is active
src/gui/encoder.cs | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 8327206..89af919 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -5147,7 +5147,10 @@ public partial class ChronoJumpWindow
GLib.Idle.Add (new GLib.IdleHandler (pulseGTKEncoderCaptureBG));
LogB.ThreadStart();
- LogB.Mute = true; //mute logs to improve stability (encoder inertial test only works
with muted log
+
+ //mute logs to improve stability (encoder inertial test only works with muted log)
+ LogB.Mute = ! encoderRProcCapture.Debug;
+
encoderThreadBG.Start();
}
@@ -5288,7 +5291,10 @@ public partial class ChronoJumpWindow
encoderButtonsSensitive(encoderSensEnum.PROCESSINGCAPTURE);
LogB.ThreadStart();
- LogB.Mute = true; //mute logs to improve stability (encoder inertial test only works
with muted log
+
+ //mute logs to improve stability (encoder inertial test only works with muted log)
+ LogB.Mute = ! encoderRProcCapture.Debug;
+
encoderThread.Start();
} else if(
action == encoderActions.CURVES ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]