Ticket #5654: mca_longterm_eit.diff
File mca_longterm_eit.diff, 2.1 KB (added by , 16 years ago) |
---|
-
libs/libmythtv/mpeg/dvbstreamdata.cpp
10 10 11 11 #define PREMIERE_ONID 133 12 12 #define FREESAT_EIT_PID 3842 13 #define MCA_ONID 6144 14 #define MCA_EIT_TSID 136 15 #define MCA_EIT_PID 1018 13 16 14 17 // service_id is synonymous with the MPEG program number in the PMT. 15 18 DVBStreamData::DVBStreamData(uint desired_netid, uint desired_tsid, … … 131 134 return SDToSectionSeen(psip.TableIDExtension(), psip.Section()); 132 135 } 133 136 134 if (DVB_EIT_PID == pid || FREESAT_EIT_PID == pid )137 if (DVB_EIT_PID == pid || FREESAT_EIT_PID == pid || MCA_EIT_PID == pid) 135 138 { 136 139 // Standard Now/Next Event Information Tables for other transport 137 140 is_eit |= TableID::PF_EITo == table_id; … … 328 331 } 329 332 } 330 333 331 if ((DVB_EIT_PID == pid || DVB_DNLONG_EIT_PID == pid || FREESAT_EIT_PID == pid) && 334 if ((DVB_EIT_PID == pid || DVB_DNLONG_EIT_PID == pid || FREESAT_EIT_PID == pid || 335 ((MCA_ONID == _desired_netid) && (MCA_EIT_TSID == _desired_tsid) && 336 (MCA_EIT_PID == pid))) && 337 332 338 DVBEventInformationTable::IsEIT(psip.TableID())) 333 339 { 334 340 QMutexLocker locker(&_listener_lock); … … 435 441 { 436 442 add_pids.push_back(FREESAT_EIT_PID); 437 443 } 444 445 if (MCA_ONID == _desired_netid && MCA_EIT_TSID == _desired_tsid && 446 find(cur_pids.begin(), cur_pids.end(), 447 (uint) MCA_EIT_PID) == cur_pids.end()) 448 { 449 add_pids.push_back(MCA_EIT_PID); 450 } 451 438 452 } 439 453 else 440 454 { … … 470 484 { 471 485 del_pids.push_back(FREESAT_EIT_PID); 472 486 } 487 488 if (MCA_ONID == _desired_netid && MCA_EIT_TSID == _desired_tsid && 489 find(cur_pids.begin(), cur_pids.end(), 490 (uint) MCA_EIT_PID) != cur_pids.end()) 491 { 492 del_pids.push_back(MCA_EIT_PID); 493 } 473 494 } 474 495 475 496 return add_pids.size() || del_pids.size();