221 | | EventIDToETT &elist = unmatched_etts[atsc_key]; |
222 | | EventIDToETT::iterator existing_unmatched_ett_it = |
223 | | elist.find(ett->EventID()); |
224 | | const QString next_ett_text = ett->ExtendedTextMessage() |
225 | | .GetBestMatch(languagePreferences); |
226 | | if (existing_unmatched_ett_it != elist.end() && |
227 | | existing_unmatched_ett_it->ett_text != next_ett_text) |
228 | | { |
229 | | LOG(VB_EIT, LOG_DEBUG, LOC + |
230 | | QString("Overwriting previously unmatched ett. stale: %1 major: %2 " |
231 | | "minor: %3 old ett: %4 new ett: %5") |
232 | | .arg(existing_unmatched_ett_it->IsStale()) |
233 | | .arg(atsc_major) |
234 | | .arg(atsc_minor) |
235 | | .arg(existing_unmatched_ett_it->ett_text) |
236 | | .arg(next_ett_text)); |
237 | | } |
238 | | elist.insert(ett->EventID(), ATSCEtt(next_ett_text)); |
| 221 | // EventIDToETT &elist = unmatched_etts[atsc_key]; |
| 222 | // EventIDToETT::iterator existing_unmatched_ett_it = |
| 223 | // elist.find(ett->EventID()); |
| 224 | // const QString next_ett_text = ett->ExtendedTextMessage() |
| 225 | // .GetBestMatch(languagePreferences); |
| 226 | // if (existing_unmatched_ett_it != elist.end() && |
| 227 | // existing_unmatched_ett_it->ett_text != next_ett_text) |
| 228 | // { |
| 229 | // LOG(VB_EIT, LOG_DEBUG, LOC + |
| 230 | // QString("Overwriting previously unmatched ett. stale: %1 major: %2 " |
| 231 | // "minor: %3 old ett: %4 new ett: %5") |
| 232 | // .arg(existing_unmatched_ett_it->IsStale()) |
| 233 | // .arg(atsc_major) |
| 234 | // .arg(atsc_minor) |
| 235 | // .arg(existing_unmatched_ett_it->ett_text) |
| 236 | // .arg(next_ett_text)); |
| 237 | // } |
| 238 | // elist.insert(ett->EventID(), ATSCEtt(next_ett_text)); |