mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
v4l2: Add support for detecting the presence of V4L2 support on OpenBSD
https://bugzilla.gnome.org/review?bug=742503
This commit is contained in:
parent
ff5b235c32
commit
133bad7fee
1 changed files with 4 additions and 1 deletions
|
@ -506,7 +506,10 @@ AG_GST_CHECK_FEATURE(GST_V4L2, [Video 4 Linux 2], video4linux2, [
|
|||
AC_MSG_CHECKING([Checking for video4linux2 header ...])
|
||||
AC_CHECK_HEADER(linux/videodev2.h, [ HAVE_GST_V4L2=yes ],
|
||||
[
|
||||
AC_CHECK_HEADER(sys/videodev2.h, [ HAVE_GST_V4L2=yes ])
|
||||
AC_CHECK_HEADER(sys/videodev2.h, [ HAVE_GST_V4L2=yes ],
|
||||
[
|
||||
AC_CHECK_HEADER(sys/videoio.h, [ HAVE_GST_V4L2=yes ])
|
||||
])
|
||||
])
|
||||
if test "x$HAVE_VIDEODEV" = "xno"; then
|
||||
AC_MSG_WARN([video4linux2 was not found])
|
||||
|
|
Loading…
Reference in a new issue