diff --git a/src/driver/record.cpp b/src/driver/record.cpp index 14b566873..48b439f0a 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -1624,7 +1624,9 @@ bool CRecordManager::CutBackNeutrino(const t_channel_id channel_id, CFrontend * #endif if(ret) { #ifdef ENABLE_PIP - if (CZapit::getInstance()->GetPipChannelID() == channel_id) + /* FIXME until proper demux management */ + t_channel_id pip_channel_id = CZapit::getInstance()->GetPipChannelID(); + if ((pip_channel_id == channel_id) && (channel->getRecordDemux() == channel->getPipDemux())) CZapit::getInstance()->StopPip(); #endif