mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
zapit: try to fix ait segfault
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