X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FCECCommandHandler.cpp;h=37e3ddae785c366fcd4694538b90f152b7b3ea5f;hb=7656096e8198e19fd4f7b41cf9df54d811cf6fe3;hp=c3038710b181ed5ab1e18d30b5004e90d2f05dfe;hpb=92da1117ccc9567075c90df5b701f40863392874;p=deb_libcec.git diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index c303871..37e3dda 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -334,12 +334,7 @@ bool CCECCommandHandler::HandleGivePhysicalAddress(const cec_command &command) { CCECBusDevice *device = GetDevice(command.destination); if (device) - { - device->SetActiveSource(); - return device->TransmitPhysicalAddress() && - device->TransmitImageViewOn() && - device->TransmitActiveSource(); - } + return device->TransmitPhysicalAddress(); } return false;