Ticket #3031: 3031-dbg-1.patch
File 3031-dbg-1.patch, 4.0 KB (added by , 18 years ago) |
---|
-
libs/libmythtv/dvbrecorder.cpp
192 192 { 193 193 if (!_pat) 194 194 { 195 VERBOSE(VB_RECORD, LOC + " SetPAT(NULL)");195 VERBOSE(VB_RECORD, LOC + "HandlePAT(NULL)"); 196 196 return; 197 197 } 198 198 … … 203 203 204 204 if (!pmtpid) 205 205 { 206 VERBOSE(VB_RECORD, LOC + "SetPAT(): " 207 "Ignoring PAT not containing our desired program..."); 206 VERBOSE(VB_RECORD, LOC + "HandlePAT(): Ignoring PAT not " 207 <<QString("containing our desired program %1").arg(progNum) 208 <<"\n"<<_pat->toString()<<"\n"); 209 208 210 return; 209 211 } 210 212 211 213 _pmt_pid = pmtpid; 212 214 213 VERBOSE(VB_RECORD, LOC + QString(" SetPAT(%1 on 0x%2)")215 VERBOSE(VB_RECORD, LOC + QString("HandlePAT(%1 on 0x%2)") 214 216 .arg(progNum).arg(_pmt_pid,0,16)); 215 217 216 218 ProgramAssociationTable *oldpat = _input_pat; … … 230 232 231 233 if ((int)progNum == _stream_data->DesiredProgram()) 232 234 { 233 VERBOSE(VB_RECORD, LOC + " SetPMT("<<progNum<<")");235 VERBOSE(VB_RECORD, LOC + "HandlePMT("<<progNum<<")"); 234 236 ProgramMapTable *oldpmt = _input_pmt; 235 237 _input_pmt = new ProgramMapTable(*_pmt); 236 238 dvbchannel->SetPMT(_input_pmt); … … 242 244 243 245 _reset_pid_filters = true; 244 246 } 247 else 248 { 249 VERBOSE(VB_RECORD, LOC + "HandlePMT("<<progNum<<"): No match" 250 <<"\n"<<_pmt->toString()<<"\n"); 251 } 245 252 } 246 253 247 254 void DVBRecorder::HandleSTT(const SystemTimeTable*) -
libs/libmythtv/hdhrrecorder.cpp
185 185 { 186 186 if (!_pat) 187 187 { 188 VERBOSE(VB_RECORD, LOC + " SetPAT(NULL)");188 VERBOSE(VB_RECORD, LOC + "HandlePAT(NULL)"); 189 189 return; 190 190 } 191 191 … … 196 196 197 197 if (!pmtpid) 198 198 { 199 VERBOSE(VB_RECORD, LOC + "SetPAT(): " 200 "Ignoring PAT not containing our desired program..."); 199 VERBOSE(VB_RECORD, LOC + "HandlePAT(): Ignoring PAT not " 200 <<QString("containing our desired program %1").arg(progNum) 201 <<"\n"<<_pat->toString()<<"\n"); 202 201 203 return; 202 204 } 203 205 204 VERBOSE(VB_RECORD, LOC + QString(" SetPAT(%1 on 0x%2)")206 VERBOSE(VB_RECORD, LOC + QString("HandlePAT(%1 on 0x%2)") 205 207 .arg(progNum).arg(pmtpid,0,16)); 206 208 207 209 ProgramAssociationTable *oldpat = _input_pat; … … 217 219 218 220 if ((int)progNum == _stream_data->DesiredProgram()) 219 221 { 220 VERBOSE(VB_RECORD, LOC + " SetPMT("<<progNum<<")");222 VERBOSE(VB_RECORD, LOC + "HandlePMT("<<progNum<<")"); 221 223 ProgramMapTable *oldpmt = _input_pmt; 222 224 _input_pmt = new ProgramMapTable(*_pmt); 223 225 delete oldpmt; 224 226 225 227 _reset_pid_filters = true; 226 228 } 229 else 230 { 231 VERBOSE(VB_RECORD, LOC + "HandlePMT("<<progNum<<") no match" 232 <<"\n"<<_pmt->toString()<<"\n"); 233 } 227 234 } 228 235 229 236 void HDHRRecorder::HandleSingleProgramPAT(ProgramAssociationTable *pat) -
libs/libmythtv/dtvsignalmonitor.cpp
278 278 int pmt_pid = pat->FindPID(programNumber); 279 279 if (GetStreamData() && pmt_pid) 280 280 { 281 VERBOSE(VB_RECORD, LOC + "HandlePAT() found program "<<programNumber 282 <<"\n"<<pat->toString()<<"\n"); 283 281 284 AddFlags(kDTVSigMon_PATMatch); 282 285 GetStreamData()->AddListeningPID(pmt_pid); 283 286 return; … … 322 325 return; // Not the PMT we are looking for... 323 326 } 324 327 328 VERBOSE(VB_RECORD, LOC + "HandlePMT() found program "<<programNumber 329 <<"\n"<<pmt->toString()<<"\n"); 330 325 331 if (pmt->IsEncrypted()) 326 332 GetStreamData()->TestDecryption(pmt); 327 333