From: Lars Op den Kamp Date: Wed, 2 Nov 2011 23:15:35 +0000 (+0100) Subject: cec: always wait for a signal in CCECProcessor::Transmit() X-Git-Tag: upstream/2.2.0~1^2~134 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3a0ca6e172800be72df1dc6abd7f3b2533be6268;p=deb_libcec.git cec: always wait for a signal in CCECProcessor::Transmit() --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 563f2aa..c83bdc0 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -251,7 +251,7 @@ bool CCECProcessor::Transmit(CCECAdapterMessage *output) return bReturn; else { - output->condition.Wait(&output->mutex, 1000); + output->condition.Wait(&output->mutex); if (output->state != ADAPTER_MESSAGE_STATE_SENT) { m_controller->AddLog(CEC_LOG_ERROR, "command was not sent");