From 40e124e6ee288ec69bba27e26fd28e89381f319e Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Mon, 13 Feb 2012 02:27:20 +0100 Subject: [PATCH] cec: only replace handlers in the background thread in CCECProcessor. don't keep the mutex locked --- src/lib/CECProcessor.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 230f2ab..0ea5e8a 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -211,7 +211,6 @@ bool CCECProcessor::Initialise(void) /* get the vendor id from the TV, so we are using the correct handler */ m_busDevices[CECDEVICE_TV]->RequestVendorId(); - ReplaceHandlers(); if (m_iPhysicalAddress != 0) { @@ -406,7 +405,6 @@ bool CCECProcessor::FindLogicalAddresses(void) void CCECProcessor::ReplaceHandlers(void) { - CLockObject lock(m_mutex); if (!IsInitialised()) return; for (uint8_t iPtr = 0; iPtr <= CECDEVICE_PLAYBACKDEVICE3; iPtr++) -- 2.34.1