From 1b7199c97590a61a4313a09e8d984d3572a73698 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 18 Jan 2013 15:51:19 +0400 Subject: [PATCH] zapit/src/femanager.cpp: make sure single-tuner is independent Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/55c32bcb73f8f316fb668dc77fbcde29732d1be2 Author: [CST] Focus Date: 2013-01-18 (Fri, 18 Jan 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/femanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zapit/src/femanager.cpp b/src/zapit/src/femanager.cpp index 25d0651c4..1b0379f1e 100644 --- a/src/zapit/src/femanager.cpp +++ b/src/zapit/src/femanager.cpp @@ -240,6 +240,8 @@ bool CFEManager::loadSettings() if (def_mode > CFrontend::FE_MODE_INDEPENDENT) def_mode = CFrontend::FE_MODE_INDEPENDENT; } + if (femap.size() == 1) + def_mode = CFrontend::FE_MODE_INDEPENDENT; fe->setMode(getConfigValue(fe, "mode", def_mode)); fe->setMaster(getConfigValue(fe, "master", 0));