mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
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:
@@ -2500,7 +2500,7 @@ bool CZapit::StartPlayBack(CZapitChannel *thisChannel)
|
|||||||
return true;
|
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);
|
INFO("standby %d playing %d forced %d send_pmt %d", standby, playing, playbackStopForced, send_pmt);
|
||||||
if(send_pmt)
|
if(send_pmt)
|
||||||
@@ -2519,13 +2519,14 @@ bool CZapit::StopPlayBack(bool send_pmt, bool blank)
|
|||||||
if (playbackStopForced)
|
if (playbackStopForced)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
videoDecoder->Stop(false);
|
||||||
videoDemux->Stop();
|
videoDemux->Stop();
|
||||||
audioDemux->Stop();
|
audioDemux->Stop();
|
||||||
pcrDemux->Stop();
|
pcrDemux->Stop();
|
||||||
audioDecoder->Stop();
|
audioDecoder->Stop();
|
||||||
|
|
||||||
/* hack. if standby, dont blank video -> for paused timeshift */
|
/* hack. if standby, dont blank video -> for paused timeshift */
|
||||||
videoDecoder->Stop(standby ? false : blank);
|
//videoDecoder->Stop(standby ? false : blank);
|
||||||
|
|
||||||
#if ENABLE_AITSCAN
|
#if ENABLE_AITSCAN
|
||||||
ait->Stop();
|
ait->Stop();
|
||||||
|
Reference in New Issue
Block a user