mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +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;
|
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());
|
INFO("[pip] vpid %X apid %X pcr %X", newchannel->getVideoPid(), newchannel->getAudioPid(), newchannel->getPcrPid());
|
||||||
if (!pipDemux) {
|
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 = new cDemux(dnum);
|
||||||
pipDemux->Open(DMX_PIP_CHANNEL);
|
pipDemux->Open(DMX_PIP_CHANNEL);
|
||||||
if (!pipDecoder) {
|
if (!pipDecoder) {
|
||||||
|
Reference in New Issue
Block a user