git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hopefully fix the 99% systemload bug when opening a new listbox
[enigma2.git]
/
lib
/
dvb
/
esection.h
diff --git
a/lib/dvb/esection.h
b/lib/dvb/esection.h
index 78895e769ee398f9d42ef8ca71ef931858bd43bb..611827660a6c6b6c60927d4f9841d5c7ad5b24d3 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;
+ 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);
@@
-52,11
+53,13
@@
protected:
else
printf("-");
else
printf("-");
- printf(" %d/%d
\n", avail.size(), max
);
+ printf(" %d/%d
TID %02x\n", avail.size(), max, data[0]
);
if (avail.size() == max)
if (avail.size() == max)
+ {
+ printf("done!\n");
return 1;
return 1;
- else
+
}
else
return 0;
}
public:
return 0;
}
public: