git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
load and save cutlists
[enigma2.git]
/
lib
/
dvb
/
esection.h
diff --git
a/lib/dvb/esection.h
b/lib/dvb/esection.h
index 6b8c87843fcede09df35054522dccc12114f012d..af5c012bc22ff687778ae35e91a0a2f9284dff18 100644
(file)
--- a/
lib/dvb/esection.h
+++ b/
lib/dvb/esection.h
@@
-1,16
+1,18
@@
#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
{
-DECLARE_REF;
+DECLARE_REF
(eGTable)
;
private:
ePtr<iDVBSectionReader> m_reader;
eDVBTableSpec m_table;
private:
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)