mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
fix logic
This commit is contained in:
@@ -718,15 +718,17 @@ bool CZapit::StartPip(const t_channel_id channel_id)
|
||||
|
||||
pip_fe = frontend;
|
||||
|
||||
#ifdef DYNAMIC_DEMUX
|
||||
int dnum = CFEManager::getInstance()->getDemux(newchannel->getTransponderId(), pip_fe->getNumber());
|
||||
INFO("[pip] dyn demux: %d", dnum);
|
||||
#else
|
||||
/* FIXME until proper demux management */
|
||||
int dnum = 1;
|
||||
INFO("[pip] demux: %d", dnum);
|
||||
#endif
|
||||
|
||||
INFO("[pip] vpid %X apid %X pcr %X", newchannel->getVideoPid(), newchannel->getAudioPid(), newchannel->getPcrPid());
|
||||
if (!pipDemux) {
|
||||
#ifdef DYNAMIC_DEMUX
|
||||
int dnum = CFEManager::getInstance()->getDemux(newchannel->getTransponderId(), pip_fe->getNumber());
|
||||
INFO("[pip] dyn demux: %d", dnum);
|
||||
#else
|
||||
/* FIXME until proper demux management */
|
||||
int dnum = 1;
|
||||
#endif
|
||||
pipDemux = new cDemux(dnum);
|
||||
pipDemux->Open(DMX_PIP_CHANNEL);
|
||||
if (!pipDecoder) {
|
||||
|
Reference in New Issue
Block a user