mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
fix quad pip
Origin commit data
------------------
Commit: cbb43a3fc3
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2023-10-10 (Tue, 10 Oct 2023)
This commit is contained in:
@@ -136,7 +136,8 @@ bool CQuadPiPSetupNotifier::changeNotify(const neutrino_locale_t, void */*Data*/
|
|||||||
videoDecoder->QuadPiP(true);
|
videoDecoder->QuadPiP(true);
|
||||||
for (unsigned i = 0; i < pip_devs; i++)
|
for (unsigned i = 0; i < pip_devs; i++)
|
||||||
{
|
{
|
||||||
usleep(100); // delay time for zap etc.
|
CZapit::getInstance()->OpenPip(i);
|
||||||
|
usleep (100); // delay time for zap etc.
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
{
|
{
|
||||||
CNeutrinoApp::getInstance()->channelList->zapTo_ChannelID(g_settings.quadpip_channel_id_window[i]);
|
CNeutrinoApp::getInstance()->channelList->zapTo_ChannelID(g_settings.quadpip_channel_id_window[i]);
|
||||||
@@ -170,15 +171,7 @@ bool CQuadPiPSetupNotifier::changeNotify(const neutrino_locale_t, void */*Data*/
|
|||||||
for (unsigned i = 0; i < (unsigned int) g_info.hw_caps->pip_devs; i++)
|
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);
|
CCamManager::getInstance()->Stop(g_settings.quadpip_channel_id_window[i], CCamManager::PIP);
|
||||||
if (pipVideoDemux[i])
|
CZapit::getInstance()->StopPip(i);
|
||||||
pipVideoDemux[i]->Stop();
|
|
||||||
if (pipAudioDemux[i])
|
|
||||||
pipAudioDemux[i]->Stop();
|
|
||||||
if (pipVideoDecoder[i])
|
|
||||||
{
|
|
||||||
pipVideoDecoder[i]->ShowPig(0);
|
|
||||||
pipVideoDecoder[i]->Stop();
|
|
||||||
}
|
|
||||||
g_Zapit->stopPip(i);
|
g_Zapit->stopPip(i);
|
||||||
}
|
}
|
||||||
g_Zapit->Rezap();
|
g_Zapit->Rezap();
|
||||||
|
Reference in New Issue
Block a user