Ticket #424: pmt-tostring-fix.diff
File pmt-tostring-fix.diff, 2.4 KB (added by , 19 years ago) |
---|
-
libs/libmythtv/mpeg/mpegtables.cpp
old new 301 301 .arg(Version()).arg(tsheader()->PID(), 0, 16) 302 302 .arg(ProgramNumber()); 303 303 304 if (0 != ProgramInfoLength())304 if (0 != StreamCount()) 305 305 { 306 306 vector<const unsigned char*> desc = 307 307 MPEGDescriptor::Parse(ProgramInfo(), ProgramInfoLength()); -
libs/libmythtv/dtvsignalmonitor.cpp
old new 241 241 hasAudio += pmt->IsAudio(i); 242 242 } 243 243 244 if (hasVideo && hasAudio) 244 if ((hasVideo && hasAudio) || 245 (GetStreamData()->GetVideoStreamsRequired() == 0)) 245 246 AddFlags(kDTVSigMon_PMTMatch); 246 247 } 247 248 -
libs/libmythtv/mpeg/mpegstreamdata.cpp
old new 251 251 AddWritingPID(pmt.PCRPID()); 252 252 } 253 253 254 // Misc255 uint programNumber = 1;256 257 254 // Construct 258 255 ProgramMapTable *pmt2 = ProgramMapTable:: 259 Create(p rogramNumber, _pid_pmt_single_program,256 Create(pmt.ProgramNumber(), _pid_pmt_single_program, 260 257 pmt.PCRPID(), pmt.Version(), pids, types); 261 258 262 259 // Set Continuity Header -
libs/libmythtv/mpeg/mpegstreamdata.h
old new 91 91 inline void SetPMTSingleProgram(ProgramMapTable*); 92 92 void SetVideoStreamsRequired(uint num) 93 93 { _pmt_single_program_num_video = num; } 94 uint GetVideoStreamsRequired() { return _pmt_single_program_num_video; } 94 95 95 96 // Single program stuff, gets 96 97 int DesiredProgram(void) const { return _desired_program; }