mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
driver/record.cpp: change condition to stop PiP
This commit is contained in:
@@ -1624,7 +1624,9 @@ bool CRecordManager::CutBackNeutrino(const t_channel_id channel_id, CFrontend *
|
|||||||
#endif
|
#endif
|
||||||
if(ret) {
|
if(ret) {
|
||||||
#ifdef ENABLE_PIP
|
#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();
|
CZapit::getInstance()->StopPip();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user