From 59b9bfdf5a922220e075726cc69e566a0f6f2e0c Mon Sep 17 00:00:00 2001 From: Frankenstone Date: Tue, 2 Jan 2024 00:43:08 +0100 Subject: [PATCH] zapit screen not black when zapping Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/31e66be8d03859ece6c05c8200375397fd1f70f9 Author: Frankenstone Date: 2024-01-02 (Tue, 02 Jan 2024) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/zapit.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index 8e94e14b0..14bd54d40 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -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();