sectionsd: add table ID to event data

record the originating table ID with every event
if not set (e.g. for events read from saved data), it defaults
to 0xff to make sure it is bigger than a real existing table ID

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1381 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 72149b63a4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-09 (Sat, 09 Apr 2011)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2011-04-09 16:35:14 +00:00
parent c84756556a
commit bb61bf9995
5 changed files with 13 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ SIevent::SIevent(const struct eit_event *e)
running = (int)e->running_status;
table_id = 0xFF; /* not set */
service_id = 0;
original_network_id = 0;
transport_stream_id = 0;
@@ -77,6 +78,7 @@ SIevent::SIevent(const t_original_network_id _original_network_id, const t_trans
transport_stream_id = _transport_stream_id;
service_id = _service_id;
eventID = _event_id;
table_id = 0xFF; /* not set */
/* contentClassification = "";
userClassification = "";
itemDescription = "";
@@ -105,6 +107,8 @@ SIevent::SIevent(const SIevent &e)
ratings=e.ratings;
linkage_descs=e.linkage_descs;
running=e.running;
vps = e.vps;
table_id = e.table_id;
}
int SIevent::saveXML(FILE *file, const char *serviceName) const