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).
This commit is contained in:
parent
61cf784195
commit
9cecbd7a0e
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
12
configure.ac
12
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
|
dnl renamed to GST_V4L in accordance with V4L2 below
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_GST_V4L, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_GST_V4L, true)
|
||||||
GST_CHECK_FEATURE(GST_V4L, [Video 4 Linux], v4lsrc v4lmjpegsrc v4lmjpegsink, [
|
GST_CHECK_FEATURE(GST_V4L, [Video 4 Linux], v4lsrc v4lmjpegsrc v4lmjpegsink, [
|
||||||
# first check X
|
|
||||||
HAVE_GST_V4L="no"
|
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>
|
#include <sys/types.h>
|
||||||
#define _LINUX_TIME_H
|
#define _LINUX_TIME_H
|
||||||
#define __user
|
#define __user
|
||||||
#include <linux/videodev.h>
|
#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
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user