Closed marbetschar closed 2 years ago
Turned out there is another capability needed to support some webcams which produce MJPEG streams. They don't advertise the video/x-raw capability but support image/jpeg instead: https://oz9aec.net/software/gstreamer/webcam-pixel-formats-and-gstreamer-caps-filters
video/x-raw
image/jpeg
This PR makes sure we are filtering for any one of those two capabilities when looking for a supported device. This fixes #236 (see screenshot below) and might fix as well (needs testing from the corresponding users): https://github.com/elementary/camera/issues/175, https://github.com/elementary/camera/issues/151, https://github.com/elementary/camera/issues/149, https://github.com/elementary/camera/issues/121, https://github.com/elementary/camera/issues/115
Turned out there is another capability needed to support some webcams which produce MJPEG streams. They don't advertise the
video/x-raw
capability but supportimage/jpeg
instead: https://oz9aec.net/software/gstreamer/webcam-pixel-formats-and-gstreamer-caps-filtersThis PR makes sure we are filtering for any one of those two capabilities when looking for a supported device. This fixes #236 (see screenshot below) and might fix as well (needs testing from the corresponding users): https://github.com/elementary/camera/issues/175, https://github.com/elementary/camera/issues/151, https://github.com/elementary/camera/issues/149, https://github.com/elementary/camera/issues/121, https://github.com/elementary/camera/issues/115