diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2014-04-14 09:40:50 +0200 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2014-04-14 09:40:50 +0200 |
commit | d7dc6141c91b48c410e9cc5734ca9a2adecc278e (patch) | |
tree | 4f3453ec0402557730fb67d1a65795a8c8a79333 /eit2.h | |
parent | 69b47ba4bf0195fd6820beb2cf4f7c7ea31f4011 (diff) | |
download | vdr-plugin-eepg-d7dc6141c91b48c410e9cc5734ca9a2adecc278e.tar.gz vdr-plugin-eepg-d7dc6141c91b48c410e9cc5734ca9a2adecc278e.tar.bz2 |
Move Format out of global scope, fixes #1634 and other problems with multiple devices. Thanks to cheesemonster
Diffstat (limited to 'eit2.h')
-rw-r--r-- | eit2.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,7 +4,9 @@ #include <libsi/descriptor.h> #include <libsi/si.h> #include <vdr/epg.h> +#include "util.h" +using namespace util; namespace SI { enum DescriptorTagExt { @@ -22,9 +24,10 @@ extern bool SystemCharacterTableIsSingleByte;*/ class cEIT2:public SI::EIT { public: - cEIT2(cSchedules * Schedules, int Source, u_char Tid, const u_char * Data, bool isEITPid = false, + cEIT2(cSchedules * Schedules, int Source, u_char Tid, const u_char * Data, + EFormat format, bool isEITPid = false, bool OnlyRunningStatus = false); - cEIT2 (cSchedule * Schedule); + cEIT2 (cSchedule * Schedule, EFormat format); //protected: // void updateEquivalent(cSchedules * Schedules, tChannelID channelID, cEvent *pEvent); cEvent* ProcessEitEvent(cSchedule *Schedule, const SI::EIT::Event *EitEvent, uchar TableID, uchar Version); @@ -42,6 +45,7 @@ private: time_t SegmentStart; time_t SegmentEnd; cSchedules* Schedules; + EFormat Format; cChannel* channel; }; |