mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
driver/record.cpp: stop PiP before starting record of current PiP channel
This commit is contained in:
@@ -1613,13 +1613,21 @@ bool CRecordManager::CutBackNeutrino(const t_channel_id channel_id, CFrontend *
|
|||||||
}
|
}
|
||||||
if (unlock)
|
if (unlock)
|
||||||
CFEManager::getInstance()->unlockFrontend(live_fe);
|
CFEManager::getInstance()->unlockFrontend(live_fe);
|
||||||
} else {
|
}
|
||||||
|
#ifdef DYNAMIC_DEMUX
|
||||||
|
else {
|
||||||
frontend = CFEManager::getInstance()->allocateFE(channel, true);
|
frontend = CFEManager::getInstance()->allocateFE(channel, true);
|
||||||
}
|
}
|
||||||
printf("%s: record demux: %d\n", __FUNCTION__, channel->getRecordDemux());
|
printf("%s: record demux: %d\n", __FUNCTION__, channel->getRecordDemux());
|
||||||
if (channel->getRecordDemux() == 0)
|
if (channel->getRecordDemux() == 0)
|
||||||
ret = false;
|
ret = false;
|
||||||
|
#endif
|
||||||
if(ret) {
|
if(ret) {
|
||||||
|
#ifdef BOXMODEL_APOLLO
|
||||||
|
if (CZapit::getInstance()->GetPipChannelID() == channel_id)
|
||||||
|
CZapit::getInstance()->StopPip();
|
||||||
|
#endif
|
||||||
|
|
||||||
if(StopSectionsd) {
|
if(StopSectionsd) {
|
||||||
printf("%s: g_Sectionsd->setPauseScanning(true)\n", __FUNCTION__);
|
printf("%s: g_Sectionsd->setPauseScanning(true)\n", __FUNCTION__);
|
||||||
g_Sectionsd->setPauseScanning(true);
|
g_Sectionsd->setPauseScanning(true);
|
||||||
|
Reference in New Issue
Block a user