add new vdpau directory

This commit is contained in:
Carl-Anton Ingmarsson 2009-03-14 10:43:28 +01:00 committed by Jan Schmidt
parent c70dbe94b5
commit b31ab745a5
3 changed files with 29 additions and 2 deletions

View file

@ -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

View file

@ -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

11
sys/vdpau/Makefile.am Normal file
View file

@ -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