summaryrefslogtreecommitdiff
path: root/apps/plugins/test_codec.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2016-05-14 23:10:24 +0200
committerMichael Giacomelli <giac2000@hotmail.com>2016-05-14 23:11:52 +0200
commitee7dfb526e3b2496e0aff366456fb6c1668e6e17 (patch)
treed90df01a6d7e67b4c7fb3e7b9cc5379f5773020a /apps/plugins/test_codec.c
parent9a4cd2eaee7d389f2fa6e0d79f0f6ea526f7ef85 (diff)
Manually unboost if not using boost in test_codec
Right now GUI boost interfers with test_codec running unboosted by varying the CPU frequency. This at least makes it more consistent if run without user input. Change-Id: I121615098d6bd72ccd13c4e665cc2e4d45d7b58c
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r--apps/plugins/test_codec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 0b409f8e35..78f8dd61a8 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -969,6 +969,8 @@ menu:
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
if (boost)
rb->cpu_boost(true);
+ else
+ rb->cpu_boost(false); /*force unboost at start to be safe*/
#endif
if (scandir) {