diff --git a/mythtv/libs/libmythtv/recorders/hdhrstreamhandler.cpp b/mythtv/libs/libmythtv/recorders/hdhrstreamhandler.cpp
index 9ab44a402e..a7d4661a8b 100644
|
a
|
b
|
HDHRStreamHandler::HDHRStreamHandler(const QString &device, int inputid,
|
| 104 | 104 | , m_majorid(majorid) |
| 105 | 105 | { |
| 106 | 106 | setObjectName("HDHRStreamHandler"); |
| | 107 | |
| | 108 | // KdW HDHR debug |
| | 109 | m_hdhomerun_debug = hdhomerun_debug_create(); |
| | 110 | hdhomerun_debug_set_filename(m_hdhomerun_debug, "./log/hdhr-dbg.log"); |
| | 111 | hdhomerun_debug_enable(m_hdhomerun_debug); |
| 107 | 112 | } |
| 108 | 113 | |
| 109 | 114 | /** \fn HDHRStreamHandler::run(void) |
| … |
… |
void HDHRStreamHandler::Close(void)
|
| 365 | 370 | |
| 366 | 371 | bool HDHRStreamHandler::Connect(void) |
| 367 | 372 | { |
| 368 | | m_device_selector = hdhomerun_device_selector_create(nullptr); |
| | 373 | // m_device_selector = hdhomerun_device_selector_create(nullptr); |
| | 374 | m_device_selector = hdhomerun_device_selector_create(m_hdhomerun_debug); // KdW HDHR debug |
| 369 | 375 | if (!m_device_selector) |
| 370 | 376 | { |
| 371 | 377 | LOG(VB_GENERAL, LOG_ERR, LOC + "Unable to create device selector"); |
diff --git a/mythtv/libs/libmythtv/recorders/hdhrstreamhandler.h b/mythtv/libs/libmythtv/recorders/hdhrstreamhandler.h
index 72c60417fb..a8a0c90a94 100644
|
a
|
b
|
class HDHRStreamHandler : public StreamHandler
|
| 89 | 89 | private: |
| 90 | 90 | hdhomerun_device_t *m_hdhomerun_device {nullptr}; |
| 91 | 91 | hdhomerun_device_selector_t *m_device_selector {nullptr}; |
| | 92 | hdhomerun_debug_t *m_hdhomerun_debug {nullptr}; // KdW HDHR debug |
| 92 | 93 | int m_tuner {-1}; |
| 93 | 94 | vector<DTVTunerType> m_tuner_types; |
| 94 | 95 | HDHRTuneMode m_tune_mode {hdhrTuneModeNone}; // debug self check |