driver/record.cpp: change condition to stop PiP

This commit is contained in:
[CST] Focus
2013-03-13 16:19:30 +04:00
parent 5ced593984
commit 76f50de569

View File

@@ -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