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:
3055005
)
cec: fixed SetActiveView(). the correct hdmi port will now be selected again
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 20 Nov 2011 23:50:02 +0000
(
00:50
+0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sun, 20 Nov 2011 23:55:05 +0000
(
00:55
+0100)
src/lib/CECProcessor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index 1bcba1893e60b728db5329a0d55e06e222c54d78..a51abc7917b2fdc48fa4b789e6277027f1f33d1d 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-312,12
+312,13
@@
bool CCECProcessor::SetActiveSource(cec_device_type type /* = CEC_DEVICE_TYPE_RE
}
}
- return SetStreamPath(m_busDevices[addr]->GetPhysicalAddress());
+ return SetStreamPath(m_busDevices[addr]->GetPhysicalAddress()) &&
+ m_busDevices[addr]->TransmitActiveSource();
}
bool CCECProcessor::SetActiveView(void)
{
- return SetActiveSource();
+ return SetActiveSource(
m_types.IsEmpty() ? CEC_DEVICE_TYPE_RESERVED : m_types[0]
);
}
bool CCECProcessor::SetDeckControlMode(cec_deck_control_mode mode, bool bSendUpdate /* = true */)