diff --git a/plugins/channelrx/demoddatv/datvdemod.h b/plugins/channelrx/demoddatv/datvdemod.h index 42b1e19a6..a85db9a7e 100644 --- a/plugins/channelrx/demoddatv/datvdemod.h +++ b/plugins/channelrx/demoddatv/datvdemod.h @@ -65,6 +65,10 @@ public: return m_settings.m_centerFrequency; } + void setMessageQueueToGUI(MessageQueue* queue) override { + ChannelAPI::setMessageQueueToGUI(queue); + m_basebandSink->setMessageQueueToGUI(queue); + } void SetTVScreen(TVScreen *objScreen) { m_basebandSink->setTVScreen(objScreen); } void setMERLabel(QLabel *merLabel) { m_basebandSink->setMERLabel(merLabel); } void setCNRLabel(QLabel *cnrLabel) { m_basebandSink->setCNRLabel(cnrLabel); } diff --git a/plugins/channelrx/demoddatv/datvdemodgui.cpp b/plugins/channelrx/demoddatv/datvdemodgui.cpp index 5c57cec16..f7be4048a 100644 --- a/plugins/channelrx/demoddatv/datvdemodgui.cpp +++ b/plugins/channelrx/demoddatv/datvdemodgui.cpp @@ -87,6 +87,8 @@ bool DATVDemodGUI::handleMessage(const Message& message) m_settings.m_fec = notif.getCodeRate(); m_settings.m_modulation = notif.getModulation(); m_settings.validateSystemConfiguration(); + qDebug("DATVDemodReport::MsgReportModcodCstlnChange: m_modulation: %d m_fec: %d", + m_settings.m_modulation, m_settings.m_fec); displaySystemConfiguration(); return true; } diff --git a/plugins/channelrx/demoddatv/datvdemodsink.cpp b/plugins/channelrx/demoddatv/datvdemodsink.cpp index 62f5dee15..496e97259 100644 --- a/plugins/channelrx/demoddatv/datvdemodsink.cpp +++ b/plugins/channelrx/demoddatv/datvdemodsink.cpp @@ -49,7 +49,8 @@ DATVDemodSink::DATVDemodSink() : m_modcodModulation(-1), m_modcodCodeRate(-1), m_enmModulation(DATVDemodSettings::BPSK /*DATV_FM1*/), - m_channelSampleRate(1024000) + m_channelSampleRate(1024000), + m_messageQueueToGUI(nullptr) { //*************** DATV PARAMETERS *************** m_blnInitialized=false;