Ticket #1619: check-tsid.diff
File check-tsid.diff, 1.7 KB (added by , 18 years ago) |
---|
-
libs/libmythtv/mpeg/mpegstreamdata.cpp
old new 392 392 393 393 if (TableID::PAT == table_id) 394 394 { 395 if (VersionPAT() != version) 395 if ((GetPATTransportID() != psip.TableIDExtension()) || 396 (VersionPAT() != version)) 396 397 return false; 397 398 return PATSectionSeen(psip.Section()); 398 399 } … … 425 426 case TableID::PAT: 426 427 { 427 428 SetVersionPAT(version, psip.LastSection()); 429 SetPATTransportID(psip.TableIDExtension()); 428 430 SetPATSectionSeen(psip.Section()); 429 431 ProgramAssociationTable pat(psip); 430 432 -
libs/libmythtv/mpeg/mpegstreamdata.h
old new 84 84 } 85 85 int VersionPAT(void) const { return _pat_version; } 86 86 87 void SetPATTransportID(int tsid) { _pat_transport = tsid; } 88 int GetPATTransportID(void) const { return _pat_transport; } 89 87 90 void SetVersionPMT(uint program_num, int version, uint last_section) 88 91 { 89 92 if (VersionPMT(program_num) == version) … … 202 205 int _pat_version; 203 206 QMap<uint, int> _pmt_version; 204 207 208 int _pat_transport; 209 205 210 sections_t _pat_section_seen; 206 211 sections_map_t _pmt_section_seen; 207 212