mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
zapit: try to fix ait segfault
Origin commit data
------------------
Commit: 0396bd7436
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)
This commit is contained in:
@@ -126,9 +126,12 @@ bool CAit::Parse()
|
||||
for (sit = sections.begin(); sit != sections.end(); ++sit)
|
||||
{
|
||||
|
||||
if (CServiceScan::getInstance()->Aborted())
|
||||
return false;
|
||||
if (CServiceScan::getInstance()->Aborted()){
|
||||
if (pFile)
|
||||
fclose(pFile);
|
||||
|
||||
return false;
|
||||
}
|
||||
std::list<ApplicationInformation *>::const_iterator i = (*sit)->getApplicationInformation()->begin();
|
||||
sectionLength = (*sit)->getSectionLength() + 3;
|
||||
|
||||
|
@@ -2429,6 +2429,9 @@ bool CZapit::StopPlayBack(bool send_pmt, bool blank)
|
||||
/* hack. if standby, dont blank video -> for paused timeshift */
|
||||
videoDecoder->Stop(standby ? false : blank);
|
||||
|
||||
#if ENABLE_AIT
|
||||
ait->Stop();
|
||||
#endif
|
||||
#ifdef USE_VBI
|
||||
videoDecoder->StopVBI();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user