mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
sectionsd: reenable removeDupEvents() but give people who do not need this feature the ability to disable it with -DNO_REMOVE_DUPS via CFLAGS
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1526 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 130c38499b
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-06-07 (Tue, 07 Jun 2011)
Origin message was:
------------------
- sectionsd: reenable removeDupEvents() but give people who do not need this feature the ability to disable it with -DNO_REMOVE_DUPS via CFLAGS
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1526 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1264,7 +1264,7 @@ static void removeOldEvents(const long seconds)
|
||||
return;
|
||||
}
|
||||
|
||||
#if 0
|
||||
#ifndef NO_REMOVE_DUPS
|
||||
/* Remove duplicate events (same Service, same start and endtime)
|
||||
* with different eventID. Use the one from the lower table_id.
|
||||
* This routine could be extended to remove overlapping events also,
|
||||
@@ -8370,7 +8370,7 @@ static void *cnThread(void *)
|
||||
unlockEvents();
|
||||
// usleep(100);
|
||||
// lockEvents();
|
||||
#if 0
|
||||
#ifndef NO_REMOVE_DUPS
|
||||
removeDupEvents();
|
||||
readLockEvents();
|
||||
printf("[sectionsd] Removed %d dup events.\n", anzEventsAlt - mySIeventsOrderUniqueKey.size());
|
||||
|
Reference in New Issue
Block a user