added v4l handling

Original commit message from CVS:
added v4l handling
parent 0d6ef558
...@@ -416,6 +416,12 @@ GST_CHECK_FEATURE(OSS, [OSS audio], osssrc osssink, [ ...@@ -416,6 +416,12 @@ GST_CHECK_FEATURE(OSS, [OSS audio], osssrc osssink, [
AC_CHECK_HEADER(sys/soundcard.h, HAVE_OSS="yes", HAVE_OSS="no") AC_CHECK_HEADER(sys/soundcard.h, HAVE_OSS="yes", HAVE_OSS="no")
]) ])
dnl *** Video 4 Linux ***
translit(dnm, m, l) AM_CONDITIONAL(USE_V4L, true)
GST_CHECK_FEATURE(V4L, [Video 4 Linux], v4lsrc, [
AC_CHECK_HEADER(linux/videodev.h, HAVE_V4L="yes", HAVE_V4L="no")
])
dnl *** VGA *** dnl *** VGA ***
translit(dnm, m, l) AM_CONDITIONAL(USE_VGA, true) translit(dnm, m, l) AM_CONDITIONAL(USE_VGA, true)
GST_CHECK_FEATURE(VGA, [VGA], vgavideosink, [ GST_CHECK_FEATURE(VGA, [VGA], vgavideosink, [
...@@ -762,11 +768,6 @@ AC_CHECK_HEADER(linux/cdrom.h, ...@@ -762,11 +768,6 @@ AC_CHECK_HEADER(linux/cdrom.h,
HAVE_LINUX_CDROM=yes, HAVE_LINUX_CDROM=no HAVE_LINUX_CDROM=yes, HAVE_LINUX_CDROM=no
) )
dnl Check for linux/videodev.h
AC_CHECK_HEADER(linux/videodev.h,
HAVE_LINUX_VIDEODEV=yes, HAVE_LINUX_VIDEODEV=no
)
dnl ###################################################################### dnl ######################################################################
dnl # Check command line parameters, and set shell variables accordingly # dnl # Check command line parameters, and set shell variables accordingly #
......
### FIXME use HAVE_ stuff to decide on dirs ### FIXME use HAVE_ stuff to decide on dirs
if USE_VGA
VGA_SUBDS=vga
else
VGA_SUBDS=
endif
if USE_OSS if USE_OSS
OSS_SUBDS=oss OSS_SUBDS=oss
else else
OSS_SUBDS= OSS_SUBDS=
endif endif
SUBDIRS=$(OSS_SUBDS) qcam v4l vcd $(VGA_SUBDS) xvideo if USE_V4L
V4L_SUBDS=v4l
else
V4L_SUBDS=
endif
if USE_VGA
VGA_SUBDS=vga
else
VGA_SUBDS=
endif
SUBDIRS=$(OSS_SUBDS) qcam $(V4L_SUBDS) vcd $(VGA_SUBDS) xvideo
DIST_SUBDIRS=oss qcam v4l vcd vga xvideo DIST_SUBDIRS=oss qcam v4l vcd vga xvideo
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment