summaryrefslogtreecommitdiff
path: root/p2pvr/scanner/eitRows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/scanner/eitRows.cpp')
-rw-r--r--p2pvr/scanner/eitRows.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/p2pvr/scanner/eitRows.cpp b/p2pvr/scanner/eitRows.cpp
index aea639f..bdc46f0 100644
--- a/p2pvr/scanner/eitRows.cpp
+++ b/p2pvr/scanner/eitRows.cpp
@@ -65,7 +65,7 @@ struct EitProgram {
VariableType stopTime;
};
-Glib::ustring title("title");
+static Glib::ustring title("title");
template <class C, class M>
const M &
getMember(M C::*t, C * p) {
@@ -414,7 +414,7 @@ SeenProgram::operator<(const SeenProgram & o) const
typedef std::set<SeenProgram> SeenPrograms;
SeenPrograms seenPrograms;
bool
-EitRows::parseSIT(const u_char *data, size_t len, const RowProcessor * rp) const {
+EitRows::parseInfoTable(const u_char *data, size_t len, const RowProcessor * rp) const {
const struct eit *e = reinterpret_cast<const struct eit *>(data);
len -= 4; //remove CRC
@@ -472,7 +472,7 @@ EitRows::filterInput(int fd) const
{
struct dmx_sct_filter_params sctFilterParams;
memset(&sctFilterParams, 0, sizeof(dmx_sct_filter_params));
- sctFilterParams.pid = 18; // EIT data
+ sctFilterParams.pid = 0x12; // EIT data
sctFilterParams.timeout = 0;
sctFilterParams.flags = DMX_IMMEDIATE_START;
sctFilterParams.filter.filter[0] = chan_filter; // 4e is now/next this multiplex, 4f others