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:
4a86fa7
)
cec: add the device type as parameter when sending the physical address. thanks bobo1on1
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 13 Oct 2011 23:38:29 +0000
(
01:38
+0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 13 Oct 2011 23:38:29 +0000
(
01:38
+0200)
src/lib/CECProcessor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index 6166032eb98e2834bd251552f311edb767aea75c..f9872fce8fd0cae5c8fbe883cfd76880b334af46 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-320,6
+320,7
@@
void CCECProcessor::ReportPhysicalAddress(void)
cec_command::format(command, m_iLogicalAddress, CECDEVICE_BROADCAST, CEC_OPCODE_REPORT_PHYSICAL_ADDRESS);
command.parameters.push_back((uint8_t) ((m_physicaladdress >> 8) & 0xFF));
command.parameters.push_back((uint8_t) (m_physicaladdress & 0xFF));
+ command.parameters.push_back((uint8_t) (CEC_DEVICE_TYPE_PLAYBACK_DEVICE));
Transmit(command);
}