mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
more pip changes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1357c3ec56
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2021-10-15 (Fri, 15 Oct 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -735,7 +735,7 @@ bool CZapit::StartPip(const t_channel_id channel_id, int pip)
|
||||
ERROR("Cannot get frontend\n");
|
||||
return false;
|
||||
}
|
||||
StopPip();
|
||||
StopPip(pip);
|
||||
if (!need_lock && !SAME_TRANSPONDER(newchannel->getChannelID(), live_channel_id))
|
||||
live_channel_id = newchannel->getChannelID();
|
||||
|
||||
@@ -1856,7 +1856,10 @@ bool CZapit::ParseCommand(CBasicMessage::Header &rmsg, int connfd)
|
||||
|
||||
#ifdef ENABLE_PIP
|
||||
case CZapitMessages::CMD_STOP_PIP:
|
||||
StopPip();
|
||||
for (unsigned i=0; i < (unsigned int) g_info.hw_caps->pip_devs; i++)
|
||||
{
|
||||
StopPip(i);
|
||||
}
|
||||
SendCmdReady(connfd);
|
||||
break;
|
||||
#endif
|
||||
@@ -2464,7 +2467,10 @@ void CZapit::enterStandby(void)
|
||||
SaveVolumeMap();
|
||||
StopPlayBack(true);
|
||||
#ifdef ENABLE_PIP
|
||||
StopPip();
|
||||
for (unsigned i=0; i < (unsigned int) g_info.hw_caps->pip_devs; i++)
|
||||
{
|
||||
StopPip(i);
|
||||
}
|
||||
#endif
|
||||
|
||||
if(!(currentMode & RECORD_MODE)) {
|
||||
@@ -2845,9 +2851,9 @@ void CZapit::run()
|
||||
delete audioDecoder;
|
||||
delete audioDemux;
|
||||
#ifdef ENABLE_PIP
|
||||
StopPip();
|
||||
for (unsigned i=0; i < (unsigned int) g_info.hw_caps->pip_devs; i++)
|
||||
{
|
||||
StopPip(i);
|
||||
if (pipVideoDecoder[i])
|
||||
pipVideoDecoder[i] = NULL;
|
||||
if (pipVideoDemux[i])
|
||||
|
Reference in New Issue
Block a user