mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
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:
@@ -640,7 +640,8 @@ CFrontend * CFEManager::allocateFE(CZapitChannel * channel, bool forrecord)
|
|||||||
#else
|
#else
|
||||||
channel->setRecordDemux(frontend->fenumber+1);
|
channel->setRecordDemux(frontend->fenumber+1);
|
||||||
channel->setPipDemux(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
|
#ifdef ENABLE_PIP
|
||||||
/* FIXME until proper demux management */
|
/* FIXME until proper demux management */
|
||||||
if (enabled_count < 4) {
|
if (enabled_count < 4) {
|
||||||
|
@@ -627,7 +627,8 @@ bool CZapit::StartPip(const t_channel_id channel_id)
|
|||||||
pipDemux->Open(DMX_PIP_CHANNEL);
|
pipDemux->Open(DMX_PIP_CHANNEL);
|
||||||
pipDecoder->SetDemux(pipDemux);
|
pipDecoder->SetDemux(pipDemux);
|
||||||
}
|
}
|
||||||
cDemux::SetSource(dnum, pip_fe->getNumber());
|
if (CFEManager::getInstance()->getFrontendCount() > 1)
|
||||||
|
cDemux::SetSource(dnum, pip_fe->getNumber());
|
||||||
#if 0
|
#if 0
|
||||||
pipDecoder->SetSyncMode(AVSYNC_DISABLED);
|
pipDecoder->SetSyncMode(AVSYNC_DISABLED);
|
||||||
pipDemux->SetSyncMode(AVSYNC_DISABLED);
|
pipDemux->SetSyncMode(AVSYNC_DISABLED);
|
||||||
|
Reference in New Issue
Block a user