Skip to content

Commit

Permalink
[eDVBServicePMTHandler]
Browse files Browse the repository at this point in the history
* trigger evHBBTVInfo if the new list is empty and the old list has items

Close #3435
  • Loading branch information
jbleyel committed Sep 30, 2024
1 parent b27f490 commit 2819110
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/dvb/pmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ void eDVBServicePMTHandler::AITready(int error)
int orgid = 0, appid = 0, profileVersion = 0;
m_ApplicationName = m_HBBTVUrl = "";

int oldHbbtv = m_HbbTVApplications.size();

eraseHbbTVApplications(&m_HbbTVApplications);

// memcpy(m_AITData, ptr->getBufferData(), 4096);
Expand Down Expand Up @@ -507,6 +509,10 @@ void eDVBServicePMTHandler::AITready(int error)
}
else
{
// reset HBBTV
if(oldHbbtv)
serviceEvent(eventHBBTVInfo);

if(eDVBServicePMTHandler::m_debug)
eDebug("[eDVBServicePMTHandler] No found anything.");
}
Expand Down

0 comments on commit 2819110

Please sign in to comment.