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:
b0cb809
)
cec: replace the handler directly after getting the vendor id of a device when regist...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 26 Jun 2012 23:43:58 +0000
(
01:43
+0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 26 Jun 2012 23:44:03 +0000
(
01:44
+0200)
src/lib/CECProcessor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index 4d4abba2ac93cca0fc6c2ee9bebb1cd531fc93ca..28adee3282e4a22b6631a267403b5df512ed544f 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-637,7
+637,9
@@
bool CCECProcessor::RegisterClient(CCECClient *client)
}
// ensure that we know the vendor id of the TV
- GetTV()->GetVendorId(CECDEVICE_UNREGISTERED);
+ CCECBusDevice *tv = GetTV();
+ tv->GetVendorId(CECDEVICE_UNREGISTERED);
+ tv->ReplaceHandler(false);
// unregister the client first if it's already been marked as registered
if (client->IsRegistered())