X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/7fd4f3d49a6d2f93cae4769cf8678358ebd1abce..4ad28359f1e3090e963e1a8083c34c0940d0514d:/lib/dvb/esection.h diff --git a/lib/dvb/esection.h b/lib/dvb/esection.h index 2d71eef8..af5c012b 100644 --- a/lib/dvb/esection.h +++ b/lib/dvb/esection.h @@ -11,6 +11,8 @@ private: ePtr m_reader; eDVBTableSpec m_table; + unsigned int m_tries; + eTimer *m_timeout; void sectionRead(const __u8 *data); @@ -42,7 +44,6 @@ protected: delete sections[nr]; sections.resize(max); - sections[nr] = new Section(data); avail.insert(nr); @@ -97,7 +98,12 @@ public: ~eAUTable() { - current=next=0; + stop(); + } + + void stop() + { + current = next = 0; } int begin(eMainloop *m, const eDVBTableSpec &spec, ePtr demux)