diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-01 11:29:26 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-01 11:29:26 +0000 |
| commit | 2257bf78a5ea5aba595fb59dc6f4af409e179146 (patch) | |
| tree | a693b6b1783e08e43ef286bf48fd35d34fa34ffa /lib/dvb/specs.h | |
| parent | c2065c013a7cd519374f5179ea71a3416cea9a3f (diff) | |
| download | enigma2-2257bf78a5ea5aba595fb59dc6f4af409e179146.tar.gz enigma2-2257bf78a5ea5aba595fb59dc6f4af409e179146.zip | |
add long pat/pmt timeout on ts playback
Diffstat (limited to 'lib/dvb/specs.h')
| -rw-r--r-- | lib/dvb/specs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/dvb/specs.h b/lib/dvb/specs.h index c53a23b5..514bc341 100644 --- a/lib/dvb/specs.h +++ b/lib/dvb/specs.h @@ -14,12 +14,12 @@ struct eDVBPMTSpec { eDVBTableSpec m_spec; public: - eDVBPMTSpec(int pid, int sid) + eDVBPMTSpec(int pid, int sid, bool long_timeout = false) { m_spec.pid = pid; m_spec.tid = ProgramMapSection::TID; m_spec.tidext = sid; - m_spec.timeout = 4000; // ProgramMapSection::TIMEOUT; + m_spec.timeout = long_timeout ? 20000 : 4000; // ProgramMapSection::TIMEOUT; m_spec.flags = eDVBTableSpec::tfAnyVersion | eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfHaveTIDExt | eDVBTableSpec::tfCheckCRC | eDVBTableSpec::tfHaveTimeout; @@ -108,11 +108,11 @@ struct eDVBPATSpec { eDVBTableSpec m_spec; public: - eDVBPATSpec() + eDVBPATSpec(bool long_timeout=false) { m_spec.pid = ProgramAssociationSection::PID; m_spec.tid = ProgramAssociationSection::TID; - m_spec.timeout = 4000; // ProgramAssociationSection::TIMEOUT; + m_spec.timeout = long_timeout ? 20000 : 4000; // ProgramAssociationSection::TIMEOUT; m_spec.flags = eDVBTableSpec::tfAnyVersion | eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfCheckCRC | eDVBTableSpec::tfHaveTimeout; |
