repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
356bb55
)
transmit an active source message after <set stream path> to a device that's handled...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 6 Sep 2012 08:57:16 +0000
(10:57 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sat, 8 Sep 2012 21:22:14 +0000
(23:22 +0200)
src/lib/devices/CECBusDevice.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index 466e977249159f740cbe32a53765dc1716929476..2998a622021786c7e3e9ba162870f1b92aa45373 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-1087,6
+1087,10
@@
void CCECBusDevice::SetStreamPath(uint16_t iNewAddress, uint16_t iOldAddress /*
{
// if a device is found with the new physical address, mark it as active, which will automatically mark all other devices as inactive
device->MarkAsActiveSource();
+
+ // respond with an active source message if this device is handled by libCEC
+ if (device->IsHandledByLibCEC())
+ device->TransmitActiveSource(true);
}
else
{