Skip to content

Commit

Permalink
fix quad pip
Browse files Browse the repository at this point in the history
  • Loading branch information
BPanther committed Oct 9, 2023
1 parent 7204baa commit cbb43a3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/gui/quadpip_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ bool CQuadPiPSetupNotifier::changeNotify(const neutrino_locale_t, void * /*Data*
videoDecoder->QuadPiP(true);
for (unsigned i=0; i < pip_devs; i++)
{
CZapit::getInstance()->OpenPip(i);
usleep (100); // delay time for zap etc.
if (i == 0)
{
Expand Down Expand Up @@ -169,15 +170,7 @@ bool CQuadPiPSetupNotifier::changeNotify(const neutrino_locale_t, void * /*Data*
for (unsigned i=0; i < (unsigned int) g_info.hw_caps->pip_devs; i++)
{
CCamManager::getInstance()->Stop(g_settings.quadpip_channel_id_window[i], CCamManager::PIP);
if (pipVideoDemux[i])
pipVideoDemux[i]->Stop();
if (pipAudioDemux[i])
pipAudioDemux[i]->Stop();
if (pipVideoDecoder[i])
{
pipVideoDecoder[i]->ShowPig(0);
pipVideoDecoder[i]->Stop();
}
CZapit::getInstance()->StopPip(i);
g_Zapit->stopPip(i);
}
g_Zapit->Rezap();
Expand Down

0 comments on commit cbb43a3

Please sign in to comment.