From: Lars Op den Kamp Date: Mon, 12 Nov 2012 15:25:25 +0000 (+0100) Subject: update the value of CCECProcessor::m_bMonitor when registering a client. SetControlle... X-Git-Tag: upstream/2.2.0~1^2~12^2~32 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ada355c3fe5ef347b11752b54140de6ac6621753;p=deb_libcec.git update the value of CCECProcessor::m_bMonitor when registering a client. SetControlled() wasn't called on exit, so it took 30 seconds until it was auto-enabled --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 6b93b3d..e432033 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -743,6 +743,7 @@ bool CCECProcessor::RegisterClient(CCECClient *client) // ensure that controlled mode is enabled m_communication->SetControlledMode(true); + m_bMonitor = false; // source logical address for requests cec_logical_address sourceAddress(CECDEVICE_UNREGISTERED);