mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
fix pip/cec problem
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9392e6294f
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2024-01-02 (Tue, 02 Jan 2024)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -714,16 +714,20 @@ bool CZapit::StopPip(int pip)
|
||||
INFO("[pip %d] stop %llx", pip, pip_channel_id[pip]);
|
||||
pipVideoDecoder[pip]->ShowPig(0);
|
||||
CCamManager::getInstance()->Stop(pip_channel_id[pip], CCamManager::PIP);
|
||||
|
||||
pipVideoDemux[pip]->Stop();
|
||||
pipVideoDecoder[pip]->Stop();
|
||||
pipVideoDecoder[pip]->setBlank(pip);
|
||||
pipAudioDemux[pip]->Stop();
|
||||
pipAudioDecoder[pip]->Stop();
|
||||
|
||||
pip_fe[pip] = NULL;
|
||||
pip_channel_id[pip] = 0;
|
||||
}
|
||||
|
||||
if (pipVideoDecoder[pip])
|
||||
{
|
||||
pipVideoDecoder[pip]->closeDevice();
|
||||
delete pipVideoDecoder[pip];
|
||||
pipVideoDecoder[pip] = NULL;
|
||||
}
|
||||
@@ -734,6 +738,7 @@ bool CZapit::StopPip(int pip)
|
||||
}
|
||||
if (pipAudioDecoder[pip])
|
||||
{
|
||||
pipAudioDecoder[pip]->closeDevice();
|
||||
delete pipAudioDecoder[pip];
|
||||
pipAudioDecoder[pip] = NULL;
|
||||
}
|
||||
@@ -743,10 +748,8 @@ bool CZapit::StopPip(int pip)
|
||||
pipAudioDemux[pip] = NULL;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CZapit::StartPip(const t_channel_id channel_id, int pip)
|
||||
@@ -756,7 +759,11 @@ bool CZapit::StartPip(const t_channel_id channel_id, int pip)
|
||||
|
||||
pipVideoDecoder[pip] = new cVideo(0, NULL, NULL, pip+1);
|
||||
pipVideoDecoder[pip]->ShowPig(0);
|
||||
pipVideoDemux[pip] = new cDemux(pip+1);
|
||||
pipVideoDemux[pip]->Open(DMX_VIDEO_CHANNEL);
|
||||
pipAudioDecoder[pip] = new cAudio(0, NULL, NULL, pip+1);
|
||||
pipAudioDemux[pip] = new cDemux(pip+1);
|
||||
pipAudioDemux[pip]->Open(DMX_AUDIO_CHANNEL);
|
||||
|
||||
CZapitChannel* newchannel;
|
||||
bool transponder_change;
|
||||
|
Reference in New Issue
Block a user