diff -rup mythtv.orig/libs/libmythtv/dtvsignalmonitor.cpp mythtv/libs/libmythtv/dtvsignalmonitor.cpp
old
|
new
|
DTVSignalMonitor::DTVSignalMonitor(int d |
46 | 46 | detectedNetworkID(0), detectedTransportID(0), |
47 | 47 | programNumber(-1), |
48 | 48 | last_pat_crc(-1), |
49 | | error("") |
| 49 | error(""), |
| 50 | ignore_encrypted(false) |
50 | 51 | { |
51 | 52 | } |
52 | 53 | |
… |
… |
void DTVSignalMonitor::HandlePMT(uint, c |
352 | 353 | if ((hasVideo >= GetStreamData()->GetVideoStreamsRequired()) && |
353 | 354 | (hasAudio >= GetStreamData()->GetAudioStreamsRequired())) |
354 | 355 | { |
355 | | if (pmt->IsEncrypted()) |
| 356 | if (pmt->IsEncrypted() && !ignore_encrypted) |
356 | 357 | AddFlags(kDTVSigMon_WaitForCrypt); |
357 | 358 | |
358 | 359 | AddFlags(kDTVSigMon_PMTMatch); |
diff -rup mythtv.orig/libs/libmythtv/dtvsignalmonitor.h mythtv/libs/libmythtv/dtvsignalmonitor.h
old
|
new
|
class DTVSignalMonitor : public SignalMo |
106 | 106 | void HandleNIT(const NetworkInformationTable*); |
107 | 107 | void HandleSDT(uint, const ServiceDescriptionTable*); |
108 | 108 | |
| 109 | void IgnoreEncrypted(bool ignore) { ignore_encrypted = ignore; } |
| 110 | |
109 | 111 | protected: |
110 | 112 | DTVChannel *GetDTVChannel(void); |
111 | 113 | void UpdateMonitorValues(void); |
… |
… |
class DTVSignalMonitor : public SignalMo |
144 | 146 | int64_t last_pat_crc; |
145 | 147 | |
146 | 148 | QString error; |
| 149 | |
| 150 | bool ignore_encrypted; |
147 | 151 | }; |
148 | 152 | |
149 | 153 | #endif // DTVSIGNALMONITOR_H |
diff -rup mythtv.orig/libs/libmythtv/tv_rec.cpp mythtv/libs/libmythtv/tv_rec.cpp
old
|
new
|
void TVRec::TuningFrequency(const Tuning |
3742 | 3742 | { |
3743 | 3743 | GetDTVSignalMonitor()->GetStreamData()-> |
3744 | 3744 | SetVideoStreamsRequired(0); |
| 3745 | GetDTVSignalMonitor()->IgnoreEncrypted(true); |
3745 | 3746 | } |
3746 | 3747 | |
3747 | 3748 | SetFlags(kFlagSignalMonitorRunning); |