diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-27 08:53:56 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-27 08:53:56 +0000 |
| commit | aed917161dda79ec6a53e20dbf0ee00a1affc4c0 (patch) | |
| tree | b102f5b079846218b3d0b1520d21aeadf6e348aa /lib/dvb/specs.h | |
| parent | fca6d20b97154b9910ea1313e69de132f8f528b1 (diff) | |
| download | enigma2-aed917161dda79ec6a53e20dbf0ee00a1affc4c0.tar.gz enigma2-aed917161dda79ec6a53e20dbf0ee00a1affc4c0.zip | |
set pat/pmt timeout back to 20 seconds... to get rid of recordings without
pat/pmt... but its a real mystery for me why 4 seconds isnt enough...
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 514bc341..fdbaea1c 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, bool long_timeout = false) + eDVBPMTSpec(int pid, int sid, int timeout = 20000) { m_spec.pid = pid; m_spec.tid = ProgramMapSection::TID; m_spec.tidext = sid; - m_spec.timeout = long_timeout ? 20000 : 4000; // ProgramMapSection::TIMEOUT; + m_spec.timeout = timeout; // 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(bool long_timeout=false) + eDVBPATSpec(int timeout=20000) { m_spec.pid = ProgramAssociationSection::PID; m_spec.tid = ProgramAssociationSection::TID; - m_spec.timeout = long_timeout ? 20000 : 4000; // ProgramAssociationSection::TIMEOUT; + m_spec.timeout = timeout; // ProgramAssociationSection::TIMEOUT; m_spec.flags = eDVBTableSpec::tfAnyVersion | eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfCheckCRC | eDVBTableSpec::tfHaveTimeout; |
