Dont set demux source on box with single tuner

Origin commit data
------------------
Branch: ni/coolstream
Commit: ccfba0e0e8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-04-17 (Wed, 17 Apr 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-04-17 10:17:33 +04:00
parent 412cfde71f
commit f3c0d468bd
2 changed files with 4 additions and 2 deletions

View File

@@ -640,6 +640,7 @@ CFrontend * CFEManager::allocateFE(CZapitChannel * channel, bool forrecord)
#else
channel->setRecordDemux(frontend->fenumber+1);
channel->setPipDemux(frontend->fenumber+1);
if(femap.size() > 1)
cDemux::SetSource(frontend->fenumber+1, frontend->fenumber);
#ifdef ENABLE_PIP
/* FIXME until proper demux management */

View File

@@ -627,6 +627,7 @@ bool CZapit::StartPip(const t_channel_id channel_id)
pipDemux->Open(DMX_PIP_CHANNEL);
pipDecoder->SetDemux(pipDemux);
}
if (CFEManager::getInstance()->getFrontendCount() > 1)
cDemux::SetSource(dnum, pip_fe->getNumber());
#if 0
pipDecoder->SetSyncMode(AVSYNC_DISABLED);