Commit ed8404bb authored by Benjamin Pracht's avatar Benjamin Pracht

* Very first beginning of a v4l2 access-demux

* Does nothing useful at the moment (only useless device probing)
* The purpose would be to make an access-demux and an access sub-module reusing part of the code
* Access to a webcam or an analog card without an encoder (bt878) would help the development

parent 8c8624b4
...@@ -1995,6 +1995,28 @@ then ...@@ -1995,6 +1995,28 @@ then
CPPFLAGS="${CPPFLAGS_save}" CPPFLAGS="${CPPFLAGS_save}"
fi fi
dnl
dnl Video4Linux plugin
dnl
AC_ARG_ENABLE(v4l2,
[ --enable-v4l Video4Linux2 input support (default disabled)])
if test "${enable_v4l2}" = "yes"
then
AC_ARG_WITH(v4l2,
[ --with-v4l2=PATH path to a v4l2-enabled kernel tree],[],[])
if test "${with_v4l2}" != "no" -a -n "${with_v4l2}"
then
VLC_ADD_CPPFLAGS([v4l2],[-I${with_v4l2}/include])
fi
CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_v4l2}"
AC_CHECK_HEADERS(linux/videodev2.h, [
VLC_ADD_PLUGINS([v4l2])
],[])
CPPFLAGS="${CPPFLAGS_save}"
fi
dnl dnl
dnl special access module for Hauppauge PVR cards dnl special access module for Hauppauge PVR cards
dnl dnl
......
...@@ -12,6 +12,7 @@ SOURCES_dvdread = dvdread.c ...@@ -12,6 +12,7 @@ SOURCES_dvdread = dvdread.c
SOURCES_access_fake = fake.c SOURCES_access_fake = fake.c
SOURCES_pvr = pvr.c videodev2.h SOURCES_pvr = pvr.c videodev2.h
SOURCES_v4l = v4l.c videodev_mjpeg.h SOURCES_v4l = v4l.c videodev_mjpeg.h
SOURCES_v4l2 = v4l2.c
SOURCES_cdda = \ SOURCES_cdda = \
cdda.c \ cdda.c \
vcd/cdrom.c \ vcd/cdrom.c \
......
This diff is collapsed.
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