X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FLibCEC.cpp;h=9eaf9cecf898af75c3a1e4c34edbc92122fc0da3;hb=0b8c7eab61e750b7dd6370e7d75e2c6a0cf0da12;hp=5f22f9a88ebc1312858806e0b02ee187a3e537e4;hpb=eb617f35c2d0e64f752e643ce8d8756e9ee4086f;p=deb_libcec.git diff --git a/src/lib/LibCEC.cpp b/src/lib/LibCEC.cpp index 5f22f9a..9eaf9ce 100644 --- a/src/lib/LibCEC.cpp +++ b/src/lib/LibCEC.cpp @@ -915,7 +915,7 @@ CCECClient *CLibCEC::RegisterClient(libcec_configuration &configuration) m_client = newClient; // register the new client - if (m_cec->IsRunning()) + if (m_cec->CECInitialised()) m_cec->RegisterClient(newClient); return newClient;