[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/solid/solid/backends/hal
From: Will Stephenson <wstephenson () kde ! org>
Date: 2007-11-07 10:53:08
Message-ID: 1194432788.239637.19126.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 733848 by wstephens:
Only report video capture devices as Video devices, some video4linux devices are \
really cross-dressing radios and teletext sources
M +5 -0 haldevice.cpp
--- trunk/KDE/kdelibs/solid/solid/backends/hal/haldevice.cpp #733847:733848
@@ -316,6 +316,10 @@
return property("info.interfaces").toStringList().contains("org.freedesktop.Hal.Device.Volume")
|| property("info.interfaces").toStringList().contains("org.freedesktop.Hal.Device.Volume.Crypto");
}
+ else if (type==Solid::DeviceInterface::Video) {
+ if (!property("video4linux.device").toString().contains("video" ) )
+ return false;
+ }
QStringList cap_list = DeviceInterface::toStringList(type);
QStringList result;
@@ -398,6 +402,7 @@
iface = new Video(this);
break;
case Solid::DeviceInterface::Unknown:
+ case Solid::DeviceInterface::Last:
break;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic