diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index ffdf64782..ecf91ed50 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -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) {