| 234 | } |
| 235 | |
| 236 | TsChannel* TsChannelGroup::set(TsPid pid) { |
| 237 | std::map<TsPid, TsChannel>::iterator it = _pids.find(pid); |
| 238 | if (it == _pids.end()) { |
| 239 | return &_pids[pid]; |
| 240 | } else { |
| 241 | return &it->second; |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | TsPacket::TsPacket(TsChannelGroup* g) |
| 246 | : _modified(false) |