git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better resizing
[enigma2.git]
/
lib
/
dvb
/
esection.h
diff --git
a/lib/dvb/esection.h
b/lib/dvb/esection.h
index df0b93e53bc2e90c64a62d7f398ab8865984e69c..af5c012bc22ff687778ae35e91a0a2f9284dff18 100644
(file)
--- a/
lib/dvb/esection.h
+++ b/
lib/dvb/esection.h
@@
-1,7
+1,7
@@
#ifndef __esection_h
#define __esection_h
#ifndef __esection_h
#define __esection_h
-#include <lib/dvb/i
section
.h>
+#include <lib/dvb/i
demux
.h>
#include <set>
class eGTable: public iObject, public Object
#include <set>
class eGTable: public iObject, public Object
@@
-11,6
+11,8
@@
private:
ePtr<iDVBSectionReader> m_reader;
eDVBTableSpec m_table;
ePtr<iDVBSectionReader> m_reader;
eDVBTableSpec m_table;
+ unsigned int m_tries;
+
eTimer *m_timeout;
void sectionRead(const __u8 *data);
eTimer *m_timeout;
void sectionRead(const __u8 *data);
@@
-42,7
+44,6
@@
protected:
delete sections[nr];
sections.resize(max);
delete sections[nr];
sections.resize(max);
-
sections[nr] = new Section(data);
avail.insert(nr);
sections[nr] = new Section(data);
avail.insert(nr);
@@
-97,7
+98,12
@@
public:
~eAUTable()
{
~eAUTable()
{
- current=next=0;
+ stop();
+ }
+
+ void stop()
+ {
+ current = next = 0;
}
int begin(eMainloop *m, const eDVBTableSpec &spec, ePtr<iDVBDemux> demux)
}
int begin(eMainloop *m, const eDVBTableSpec &spec, ePtr<iDVBDemux> demux)