diff --git a/include/grabber/V4L2Grabber.h b/include/grabber/V4L2Grabber.h index 4993ea7c..b4e044f1 100644 --- a/include/grabber/V4L2Grabber.h +++ b/include/grabber/V4L2Grabber.h @@ -92,8 +92,6 @@ public slots: void stop(); void newThreadFrame(Image image); - void handleEvent(Event event) override; - signals: void newFrame(const Image & image); void readError(const char* err); diff --git a/libsrc/cec/CECHandler.cpp b/libsrc/cec/CECHandler.cpp index f019ac2e..a31c76ca 100644 --- a/libsrc/cec/CECHandler.cpp +++ b/libsrc/cec/CECHandler.cpp @@ -142,7 +142,7 @@ bool CECHandler::enable() const auto adapters = getAdapters(); if (adapters.isEmpty()) { - Error(_logger, "Failed to find any CEC adapter."); + Error(_logger, "Failed to find any CEC adapter. CEC event handling will be disabled."); _cecAdapter->Close(); return false; } diff --git a/libsrc/grabber/video/v4l2/V4L2Grabber.cpp b/libsrc/grabber/video/v4l2/V4L2Grabber.cpp index a55adfdb..7450e2ff 100644 --- a/libsrc/grabber/video/v4l2/V4L2Grabber.cpp +++ b/libsrc/grabber/video/v4l2/V4L2Grabber.cpp @@ -1220,24 +1220,6 @@ bool V4L2Grabber::reload(bool force) return false; } -void V4L2Grabber::handleEvent(Event event) -{ - switch (event) - { - case Event::Suspend: - case Event::Idle: - Debug(_log,"Suspend/Idle event received"); - _standbyActivated = true; - return; - case Event::Resume: - case Event::ResumeIdle: - Debug(_log,"Resume event received"); - _standbyActivated = false; - return; - default: break; - } -} - QJsonArray V4L2Grabber::discover(const QJsonObject& params) { DebugIf(verbose, _log, "params: [%s]", QString(QJsonDocument(params).toJson(QJsonDocument::Compact)).toUtf8().constData());