From 76f50de5699364faab44c6eb79e115d0130e63e6 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 13 Mar 2013 16:19:30 +0400 Subject: [PATCH] driver/record.cpp: change condition to stop PiP --- src/driver/record.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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