mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user