Date: Wed, 06 May 2020 13:53:54 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 236673] multimedia/gstreamer1-plugins-good 1.14.4: problem with v4l2src Message-ID: <bug-236673-12827-i2KJBcEqQe@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236673-12827@https.bugs.freebsd.org/bugzilla/> References: <bug-236673-12827@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236673 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: cmt Date: Wed May 6 13:53:34 UTC 2020 New revision: 534176 URL: https://svnweb.freebsd.org/changeset/ports/534176 Log: gstreamer1-plugins-v4l2: fix for (some) webcams The gstreamer v4l2 plugin probes the DMA capabilities of the webcam device via ioctl VIDIOC_EXPBUF, expecting ENOTTY in case that's not implemented (and will act accordingly). On our cuse, we get EINVAL for that case (which, from my reading of ioctl(2) woulndn't be correct here), which gstreamer neither expects nor handles and thus cannot use this device as a video source. As we cannot fix the kernel on short notice (cuse is part of the base system), the workaround is to handle EINVAL like ENOTTY in this specific place. (Tested with an old Logitech camera). PR: 236673 Approved by: maintainer-timeout (multimedia) Changes: head/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2objec= t.c head/multimedia/gstreamer1-plugins-v4l2/Makefile --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236673-12827-i2KJBcEqQe>