mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
zapit/src/zapit.cpp: remove PIP_DEMUX usage
Origin commit data
------------------
Branch: ni/coolstream
Commit: c4dc143934
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-03-28 (Fri, 28 Mar 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -645,6 +645,9 @@ bool CZapit::StartPip(const t_channel_id channel_id)
|
||||
if (pipDemux && (pipDemux->getUnit() != dnum)) {
|
||||
pipDecoder->SetDemux(NULL);
|
||||
delete pipDemux;
|
||||
pipDemux = NULL;
|
||||
}
|
||||
if (!pipDemux) {
|
||||
pipDemux = new cDemux(dnum);
|
||||
pipDemux->Open(DMX_PIP_CHANNEL);
|
||||
pipDecoder->SetDemux(pipDemux);
|
||||
@@ -2264,8 +2267,6 @@ bool CZapit::Start(Z_start_arg *ZapStart_arg)
|
||||
#ifdef ENABLE_PIP
|
||||
/* FIXME until proper demux management */
|
||||
int dnum = 1;
|
||||
if (CFEManager::getInstance()->getFrontendCount() < MAX_DMX_UNITS)
|
||||
dnum = PIP_DEMUX;
|
||||
#endif
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
videoDecoder = cVideo::GetDecoder(0);
|
||||
|
Reference in New Issue
Block a user