summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
-rw-r--r--sys/Makefile.am10
2 files changed, 15 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index bea6e4ab7..d8fe94abf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,6 +190,12 @@ dnl ============================= sys plugins ================================
dnl ==========================================================================
+dnl *** DXR3 card ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_DXR3, true)
+GST_CHECK_FEATURE(DXR3, [DXR3 hardware mpeg video decoder], dxr3videosink, [
+ AC_CHECK_HEADER(linux/em8000.h, HAVE_DXR3="yes", HAVE_DXR3="no")
+])
+
dnl *** OSS audio ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OSS, true)
GST_CHECK_FEATURE(OSS, [OSS audio], osssrc osssink, [
@@ -762,6 +768,7 @@ gst/vumeter/Makefile
gst/wavparse/Makefile
gst/y4m/Makefile
sys/Makefile
+sys/dxr3/Makefile
sys/oss/Makefile
sys/qcam/Makefile
sys/v4l/Makefile
diff --git a/sys/Makefile.am b/sys/Makefile.am
index c915c8979..8c6db9af0 100644
--- a/sys/Makefile.am
+++ b/sys/Makefile.am
@@ -1,3 +1,9 @@
+if USE_DXR3
+DXR3_DIR=dxr3
+else
+DXR3_DIR=
+endif
+
if USE_OSS
OSS_DIR=oss
else
@@ -34,8 +40,8 @@ else
XVIDEO_DIR=
endif
-SUBDIRS=$(OSS_DIR) $(QCAM_DIR) $(V4L_DIR) $(VCD_DIR) \
+SUBDIRS=$(OSS_DIR) $(DXR3_DIR) $(QCAM_DIR) $(V4L_DIR) $(VCD_DIR) \
$(VGA_DIR) $(XVIDEO_DIR)
-DIST_SUBDIRS=oss qcam v4l vcd vga xvideo videosink
+DIST_SUBDIRS=oss dxr3 qcam v4l vcd vga xvideo videosink