From 3a0ca6e172800be72df1dc6abd7f3b2533be6268 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Thu, 3 Nov 2011 00:15:35 +0100 Subject: [PATCH] cec: always wait for a signal in CCECProcessor::Transmit() --- src/lib/CECProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.34.1