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:
a58d63d
)
cec: check whether the specified path in the parameter of CCECDetect::FindDevices...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Sat, 1 Oct 2011 15:39:00 +0000
(17:39 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sat, 1 Oct 2011 15:39:00 +0000
(17:39 +0200)
src/lib/CECDetect.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECDetect.cpp
b/src/lib/CECDetect.cpp
index 002d513d76c0acaeb40c633e625290bb9e96ac89..a8aa7e1cd531c29adbfb94572f8fabfdeaf06395 100644
(file)
--- a/
src/lib/CECDetect.cpp
+++ b/
src/lib/CECDetect.cpp
@@
-212,6
+212,9
@@
int CCECDetect::FindDevices(vector<cec_device> &deviceList, const char *strDevic
if(!bDetailResult)
continue;
+ if (strDevicePath && strcmp(strDevicePath, devicedetailData->DevicePath) != 0)
+ continue;
+
CStdString strVendorId;
CStdString strProductId;
CStdString strTmp(devicedetailData->DevicePath);