Commit 9cecbd7a authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

configure.ac: Build video4linux plugin even if there's no XVIDEO, just without...

configure.ac: Build video4linux plugin even if there's no XVIDEO, just without implementing the GstXOverlay interface...

Original commit message from CVS:
* configure.ac:
Build video4linux plugin even if there's no XVIDEO, just
without implementing the GstXOverlay interface (#334002).
parent 61cf7841
2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:
Build video4linux plugin even if there's no XVIDEO, just
without implementing the GstXOverlay interface (#334002).
2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:
......
......@@ -346,16 +346,22 @@ dnl for information about the header/define, see sys/v4l/gstv4lelement.h
dnl renamed to GST_V4L in accordance with V4L2 below
translit(dnm, m, l) AM_CONDITIONAL(USE_GST_V4L, true)
GST_CHECK_FEATURE(GST_V4L, [Video 4 Linux], v4lsrc v4lmjpegsrc v4lmjpegsink, [
# first check X
HAVE_GST_V4L="no"
if test "$HAVE_X" = "yes"
then
AC_CHECK_DECL(VID_TYPE_MPEG_ENCODER, HAVE_GST_V4L="yes", HAVE_GST_V4L="no", [
AC_CHECK_DECL(VID_TYPE_MPEG_ENCODER, HAVE_GST_V4L="yes", HAVE_GST_V4L="no", [
#include <sys/types.h>
#define _LINUX_TIME_H
#define __user
#include <linux/videodev.h>
])
dnl we can build v4l without Xv, but then we won't have XOverlay support
if test "x$HAVE_GST_V4L" = "xyes" -a "x$HAVE_XVIDEO" != "xyes"
then
AC_MSG_NOTICE([
***** NO XVIDEO FOUND, VIDEO4LINUX WILL BE *****
***** BUILT WITHOUT XOVERLAY SUPPORT *****
])
sleep 3
fi
])
......
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