GstDeviceMonitor: Don't remove unmatched class filters
authorNirbheek Chauhan <nirbheek@centricular.com>
Thu, 14 Jan 2016 18:55:05 +0000 (00:25 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 14 Jan 2016 22:07:51 +0000 (22:07 +0000)
commit4d6c7ccd08ffc8edbdfa3a7351cf8c0d99c681e9
treeed77715c512f4c73a867816139482e00b8b8ced8
parentf875bec51e0822889043b8609342320f4e735380
GstDeviceMonitor: Don't remove unmatched class filters

If no providers for a particular class could be found, then removing unmatched
filters would cause all devices to be returned instead which is not at all what
the user intended. We still return 0 for unmatched filters.
gst/gstdevicemonitor.c