mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
eitd: -fix wakeup epg scan with max_events==0
This commit is contained in:
@@ -903,7 +903,7 @@ static void commandserviceChanged(int connfd, char *data, const unsigned dataLen
|
||||
/* assume live demux always 0, other means background scan */
|
||||
if (cmd->dnum) {
|
||||
/* dont wakeup EIT, if we have max events allready */
|
||||
if (max_events && (mySIeventsOrderUniqueKey.size() < max_events)) {
|
||||
if (max_events == 0 || (mySIeventsOrderUniqueKey.size() < max_events)) {
|
||||
threadEIT.setDemux(cmd->dnum);
|
||||
threadEIT.setCurrentService(uniqueServiceKey);
|
||||
}
|
||||
|
Reference in New Issue
Block a user