mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
fd80676dbd
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)
15 lines
259 B
Makefile
15 lines
259 B
Makefile
# $FreeBSD$
|
|
|
|
PORTREVISION= 1
|
|
CATEGORIES= multimedia
|
|
PKGNAMESUFFIX= 1-plugins-v4l2
|
|
|
|
COMMENT= GStreamer Video 4 Linux 2 source plugin
|
|
|
|
GST_PLUGIN= gst_v4l2
|
|
DIST= good
|
|
|
|
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
|
|
|
|
.include "${MASTERDIR}/Makefile"
|