zapit/src/femanager.cpp: move pip demux set source to zapit.cpp

This commit is contained in:
[CST] Focus
2013-03-25 13:34:37 +04:00
parent cdf10ef46e
commit 29d7f897af
2 changed files with 2 additions and 1 deletions

View File

@@ -642,7 +642,7 @@ CFrontend * CFEManager::allocateFE(CZapitChannel * channel, bool forrecord)
/* FIXME until proper demux management */
if (enabled_count < 4) {
channel->setPipDemux(PIP_DEMUX);
cDemux::SetSource(PIP_DEMUX, frontend->fenumber);
//cDemux::SetSource(PIP_DEMUX, frontend->fenumber);
}
INFO("pip demux: %d", channel->getPipDemux());
#endif

View File

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