zapit screen not black when zapping

Origin commit data
------------------
Branch: ni/coolstream
Commit: 31e66be8d0
Author: Frankenstone <dampf_acc@online.de>
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:
Frankenstone
2024-01-02 00:43:08 +01:00
committed by vanhofen
parent 6c2e38e8a2
commit 59b9bfdf5a

View File

@@ -2500,7 +2500,7 @@ bool CZapit::StartPlayBack(CZapitChannel *thisChannel)
return true;
}
bool CZapit::StopPlayBack(bool send_pmt, bool blank)
bool CZapit::StopPlayBack(bool send_pmt, bool __attribute__ ((unused)) blank)
{
INFO("standby %d playing %d forced %d send_pmt %d", standby, playing, playbackStopForced, send_pmt);
if(send_pmt)
@@ -2519,13 +2519,14 @@ bool CZapit::StopPlayBack(bool send_pmt, bool blank)
if (playbackStopForced)
return false;
videoDecoder->Stop(false);
videoDemux->Stop();
audioDemux->Stop();
pcrDemux->Stop();
audioDecoder->Stop();
/* hack. if standby, dont blank video -> for paused timeshift */
videoDecoder->Stop(standby ? false : blank);
//videoDecoder->Stop(standby ? false : blank);
#if ENABLE_AITSCAN
ait->Stop();