mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
Dont set demux source on box with single tuner
This commit is contained in:
@@ -640,7 +640,8 @@ CFrontend * CFEManager::allocateFE(CZapitChannel * channel, bool forrecord)
|
||||
#else
|
||||
channel->setRecordDemux(frontend->fenumber+1);
|
||||
channel->setPipDemux(frontend->fenumber+1);
|
||||
cDemux::SetSource(frontend->fenumber+1, frontend->fenumber);
|
||||
if(femap.size() > 1)
|
||||
cDemux::SetSource(frontend->fenumber+1, frontend->fenumber);
|
||||
#ifdef ENABLE_PIP
|
||||
/* FIXME until proper demux management */
|
||||
if (enabled_count < 4) {
|
||||
|
@@ -627,7 +627,8 @@ bool CZapit::StartPip(const t_channel_id channel_id)
|
||||
pipDemux->Open(DMX_PIP_CHANNEL);
|
||||
pipDecoder->SetDemux(pipDemux);
|
||||
}
|
||||
cDemux::SetSource(dnum, pip_fe->getNumber());
|
||||
if (CFEManager::getInstance()->getFrontendCount() > 1)
|
||||
cDemux::SetSource(dnum, pip_fe->getNumber());
|
||||
#if 0
|
||||
pipDecoder->SetSyncMode(AVSYNC_DISABLED);
|
||||
pipDemux->SetSyncMode(AVSYNC_DISABLED);
|
||||
|
Reference in New Issue
Block a user