summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-03-14 10:43:28 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-06-20 15:21:18 +0100
commitb31ab745a506acb17a3f70119304d43b19a76988 (patch)
tree03dd08376cc2ad95b3c40a3bcb8ad86942093b5c
parentc70dbe94b5ff9a0993d852605d40c21020c59552 (diff)
downloadgst-plugins-bad-b31ab745a506acb17a3f70119304d43b19a76988.tar.gz
gst-plugins-bad-b31ab745a506acb17a3f70119304d43b19a76988.tar.bz2
gst-plugins-bad-b31ab745a506acb17a3f70119304d43b19a76988.zip
add new vdpau directory
-rw-r--r--configure.ac10
-rw-r--r--sys/Makefile.am10
-rw-r--r--sys/vdpau/Makefile.am11
3 files changed, 29 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index bd60b231..dde1cb81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1422,6 +1422,14 @@ AG_GST_CHECK_FEATURE(ACM, [Windows ACM library], acm, [
], [HAVE_ACM="no"])
])
+dnl *** vdpau ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_VDPAU, true)
+AG_GST_CHECK_FEATURE(VDPAU, [VDPAU], vdpau, [
+ AC_MSG_CHECKING([Checking for up to date vdpau installation])
+ AC_CHECK_HEADERS([vdpau/vdpau.h vdpau/vdpau_x11.h],
+ [HAVE_VDPAU="yes"], [HAVE_VDPAU="no"])
+])
+
else
dnl not building plugins with external dependencies,
@@ -1476,6 +1484,7 @@ AM_CONDITIONAL(USE_XVID, false)
AM_CONDITIONAL(USE_WILDMIDI, false)
AM_CONDITIONAL(USE_WININET, false)
AM_CONDITIONAL(USE_ACM, false)
+AM_CONDITIONAL(USE_VDPAU, false)
fi dnl of EXT plugins
@@ -1608,6 +1617,7 @@ sys/oss4/Makefile
sys/osxvideo/Makefile
sys/qtwrapper/Makefile
sys/vcd/Makefile
+sys/vdpau/Makefile
sys/wasapi/Makefile
sys/wininet/Makefile
sys/winks/Makefile
diff --git a/sys/Makefile.am b/sys/Makefile.am
index 161f3339..15c89e17 100644
--- a/sys/Makefile.am
+++ b/sys/Makefile.am
@@ -70,8 +70,14 @@ else
ACM_DIR=
endif
-SUBDIRS = $(ACM_DIR) $(DIRECTDRAW_DIR) $(DVB_DIR) $(FBDEV_DIR) $(OSS4_DIR) $(OSX_VIDEO_DIR) $(QT_DIR) $(VCD_DIR) $(WININET_DIR)
+if USE_VDPAU
+VDPAU_DIR=vdpau
+else
+VDPAU_DIR=
+endif
+
+SUBDIRS = $(ACM_DIR) $(DIRECTDRAW_DIR) $(DVB_DIR) $(FBDEV_DIR) $(OSS4_DIR) $(OSX_VIDEO_DIR) $(QT_DIR) $(VCD_DIR) $(VDPAU_DIR) $(WININET_DIR)
DIST_SUBDIRS = acmenc acmmp3dec directdraw dvb fbdev dshowdecwrapper dshowsrcwrapper dshowvideosink \
- oss4 osxvideo qtwrapper vcd wasapi wininet winks winscreencap
+ oss4 osxvideo qtwrapper vcd vdpau wasapi wininet winks winscreencap
diff --git a/sys/vdpau/Makefile.am b/sys/vdpau/Makefile.am
new file mode 100644
index 00000000..03d87758
--- /dev/null
+++ b/sys/vdpau/Makefile.am
@@ -0,0 +1,11 @@
+
+lib_LTLIBRARIES = \
+ libgstvdpau.la
+
+libgstvdpau_la_SOURCES =
+
+libgstvdpau_la_CFLAGS = $(GST_CFLAGS)
+libgstvdpau_la_LIBADD = $(GST_LIBS)
+libgstvdpau_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+libgstvdpau_la_LIBTOOLFLAGS = --tag=disable-static
+