From: Lars Op den Kamp Date: Fri, 6 Dec 2013 11:10:18 +0000 (+0100) Subject: also transmit an active source message as response to a set stream path command when... X-Git-Tag: upstream/2.2.0~1^2~3^2~32 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1e338e9581ae9669d0f8c85feafdab0a658647c6;p=deb_libcec.git also transmit an active source message as response to a set stream path command when we were already marked as active. bugzid: 3116 --- diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index 12e74e3..cee3c85 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -580,7 +580,10 @@ int CCECCommandHandler::HandleSetStreamPath(const cec_command &command) if (device->IsHandledByLibCEC() && !device->IsActiveSource()) device->ActivateSource(); else + { device->MarkAsActiveSource(); + device->TransmitActiveSource(true); + } return COMMAND_HANDLED; } }