summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 6e41dd2..14c7c4b 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -362,10 +362,6 @@ int main(int argc, char* argv[])
goto END_MAIN;
}
}
- else {
- rc = new RemoteControllerDummy();
- }
-
// input params:
if (pt.get("input.loop", 0) == 1) {
@@ -567,6 +563,11 @@ int main(int argc, char* argv[])
outputuhd_conf.muteNoTimestamps = (pt.get("delaymanagement.mutenotimestamps", 0) == 1);
#endif
}
+ if (!rc) {
+ logger.level(warn) << "No Remote-Control started";
+ rc = new RemoteControllerDummy();
+ }
+
logger.level(info) << "Starting up";