Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 2930d1f8 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't list IR cameras

parent 9aa6013c
......@@ -58,7 +58,7 @@ DeviceManager::DeviceManager() : m_playingDevice(0)
gst_bus_add_watch (bus, deviceMonitorWatch, m_monitor);
gst_object_unref (bus);
GstCaps *caps = gst_caps_new_empty_simple ("video/x-raw");
GstCaps *caps = gst_caps_new_empty_simple ("image/jpeg");
gst_device_monitor_add_filter (m_monitor, "Video/Source", caps);
gst_caps_unref (caps);
......@@ -174,7 +174,7 @@ QVariant DeviceManager::data(const QModelIndex& index, int role) const
void DeviceManager::deviceAdded(GstDevice* device)
auto st= gst_device_get_properties(device);
auto st = gst_device_get_properties(device);
const int s = m_deviceList.size();
beginInsertRows({}, s, s);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment