repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: switch to panasonic specific cec implementation if a panasonic device was detected
[deb_libcec.git]
/
src
/
lib
/
implementations
/
VLCommandHandler.cpp
diff --git
a/src/lib/implementations/VLCommandHandler.cpp
b/src/lib/implementations/VLCommandHandler.cpp
index 89f5b2eadebc5668436040c68b841e4c4b798f0d..d1c7605e3d83574b1f172b47fd6cd3cf35c2e9f0 100644
(file)
--- a/
src/lib/implementations/VLCommandHandler.cpp
+++ b/
src/lib/implementations/VLCommandHandler.cpp
@@
-51,13
+51,12
@@
bool CVLCommandHandler::HandleSetStreamPath(const cec_command &command)
m_busDevice->AddLog(CEC_LOG_DEBUG, strLog.c_str());
if (streamaddr == m_busDevice->GetMyPhysicalAddress())
{
m_busDevice->AddLog(CEC_LOG_DEBUG, strLog.c_str());
if (streamaddr == m_busDevice->GetMyPhysicalAddress())
{
- CCECBusDevice *device = GetThisDevice();
- CCECBusDevice *initiatorDevice = GetDevice(command.initiator);
- if (device && initiatorDevice)
+ CCECBusDevice *device = GetDevice(command.destination);
+ if (device)
{
{
- return device->
Broadcas
tActiveSource() &&
- device->
Broadcas
tActiveView() &&
-
initiatorDevice->ReportMenuState(
);
+ return device->
Transmi
tActiveSource() &&
+ device->
Transmi
tActiveView() &&
+
device->TransmitMenuState(command.initiator
);
}
return false;
}
}
return false;
}