X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/f2f479db5200a1b73c88330f253fabc3c6768e5e..f769a73f621f88d4b4e64be8fae3f79ca3ef6c1b:/lib/dvb/specs.h 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;