diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-06-01 22:47:52 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-06-01 22:47:52 +0000 |
| commit | a2eb4cb31c5df65b943b68a9aa0a376655631143 (patch) | |
| tree | 0ff503b9ec1902c6cb7c0b661ef9f80a8c8972e8 /lib/dvb/specs.h | |
| parent | fd3907a524f62d3077fbf4b551ca24f0260371ef (diff) | |
| download | enigma2-a2eb4cb31c5df65b943b68a9aa0a376655631143.tar.gz enigma2-a2eb4cb31c5df65b943b68a9aa0a376655631143.zip | |
the scan should now work for scanning dish network .. they use the SDT OTHER
Diffstat (limited to 'lib/dvb/specs.h')
| -rw-r--r-- | lib/dvb/specs.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/dvb/specs.h b/lib/dvb/specs.h index afd5cef8..6f30c7b2 100644 --- a/lib/dvb/specs.h +++ b/lib/dvb/specs.h @@ -43,6 +43,23 @@ public: eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfCheckCRC | eDVBTableSpec::tfHaveTimeout; } + eDVBSDTSpec(int tsid, bool other=false) + { + m_spec.pid = ServiceDescriptionSection::PID; + m_spec.tid = ServiceDescriptionSection::TID; + m_spec.tidext = tsid; + m_spec.timeout = 20000; // ServiceDescriptionSection::TIMEOUT; + m_spec.flags = eDVBTableSpec::tfAnyVersion | + eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfCheckCRC | + eDVBTableSpec::tfHaveTIDExt | eDVBTableSpec::tfHaveTimeout; + if (other) + { + // SDT other transport stream have TID 0x46 (current is 0x42) + // so we mask out the third bit in table id mask.. + m_spec.flags |= eDVBTableSpec::tfHaveTIDMask; + m_spec.tid_mask = 0xFB; + } + } operator eDVBTableSpec &() { return m_spec; |
