[Bug 796958] ksvideosrc: device enumeration bug when hotplugging a camera
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Aug 16 10:41:11 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796958
--- Comment #17 from Jérôme Laheurte <jerome at jeromelaheurte.net> ---
Okay, most USB cameras use the Microsoft-provided UVC driver, which declares
ALL of the interfaces. On the other hand, Logitech cameras use their own
driver; in the corresponding INF files, video capture devices declare both
KSCATEGORY_VIDEO and KSCATEGORY_CAPTURE, whereas audio capture devices declare
KSCATEGORY_AUDIO and KSCATEGORY_CAPTURE. The right thing to do is thus to first
filter on KSCATEGORY_VIDEO and then enumerate using this class uuid and
KSCATEGORY_CAPTURE as a secondary one. New patch attached, with comments for
future proofing.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list