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:
51b2a09
)
cec: send the correct cec version for each device
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 6 Nov 2011 11:36:16 +0000
(12:36 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 6 Nov 2011 11:36:16 +0000
(12:36 +0100)
src/lib/devices/CECBusDevice.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index 07675cdf69354c021cbb53114034f1c080239d51..a4580594432997fc45aab30f2699812f1ed82ee5 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-46,7
+46,7
@@
CCECBusDevice::CCECBusDevice(CCECProcessor *processor, cec_logical_address iLogi
m_processor(processor),
m_iVendorClass(CEC_VENDOR_UNKNOWN),
m_iLastActive(0),
- m_cecVersion(CEC_VERSION_
UNKNOWN
)
+ m_cecVersion(CEC_VERSION_
1_3A
)
{
m_handler = new CCECCommandHandler(this);
@@
-284,7
+284,7
@@
bool CCECBusDevice::ReportCECVersion(cec_logical_address dest)
cec_command command;
cec_command::format(command, m_iLogicalAddress, dest, CEC_OPCODE_CEC_VERSION);
- command.parameters.push_back(
CEC_VERSION_1_3A
);
+ command.parameters.push_back(
m_cecVersion
);
return m_processor->Transmit(command);
}