X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FSLCommandHandler.cpp;h=73a27f5e63cd2b3a6f6c63dc6b79b187e84f0308;hp=ec12b0226f7279191c1d92c6c7472ce1e166dc35;hb=e8fca5f85246f85685c814dc213f0b152295a318;hpb=f7539eaf1ed0a488c0a93998c9b178d435014c51 diff --git a/src/lib/implementations/SLCommandHandler.cpp b/src/lib/implementations/SLCommandHandler.cpp index ec12b02..73a27f5 100644 --- a/src/lib/implementations/SLCommandHandler.cpp +++ b/src/lib/implementations/SLCommandHandler.cpp @@ -232,6 +232,8 @@ void CSLCommandHandler::HandleVendorCommandPowerOn(const cec_command &command) CLockObject lock(m_SLMutex); m_bActiveSourceSent = false; } + if (device->IsActiveSource()) + ActivateSource(); } } void CSLCommandHandler::HandleVendorCommandPowerOnStatus(const cec_command &command)