SIsections: add parsing of PDC descriptor (VPS time)

Tdd the VPS time to the event if available. Not yet used for anything
useful ;-)

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


Origin commit data
------------------
Commit: f6e1539d43
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-11-20 (Sat, 20 Nov 2010)
This commit is contained in:
Stefan Seyfried
2010-11-20 14:10:52 +00:00
parent 84838ed2d5
commit 7f3bad0218
3 changed files with 37 additions and 0 deletions

View File

@@ -90,6 +90,14 @@ struct descr_linkage_header {
unsigned linkage_type : 8;
} __attribute__ ((packed)) ;
struct descr_pdc_header {
unsigned descriptor_tag : 8;
unsigned descriptor_length : 8;
unsigned pil0 : 8;
unsigned pil1 : 8;
unsigned pil2 : 8;
} __attribute__ ((packed)) ;
class SIlinkage {
public:
SIlinkage(const struct descr_linkage_header *link) {
@@ -344,6 +352,7 @@ public:
original_network_id = 0;
transport_stream_id = 0;
eventID = 0;
vps = 0;
// dauer=0;
// startzeit=0;
}
@@ -383,6 +392,7 @@ public:
SIparentalRatings ratings;
SIlinkage_descs linkage_descs;
SItimes times;
time_t vps;
// Der Operator zum sortieren
bool operator < (const SIevent& e) const {
return uniqueKey()<e.uniqueKey();